goldenXcode / shortyz

Automatically exported from code.google.com/p/shortyz
0 stars 0 forks source link

App dies when opening crossword on Android 4.3 #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a device running Android 4.3 (API level 18)
2. Download one or more puzzles
3. Attempt to open a puzzle

What is the expected output? What do you see instead?

The crossword should appear. Instead the app suffers a NPE and dies.

What version of the product are you using? On what operating system?

3.2.7 on a Nexus 4 with sideloaded OTA JB 4.3.

Please provide any additional information below.

AndroidVersionUtils.java needs to be updated to include API level 18 in the 
getInstance() SDK version switch statement. The existing Jelly Bean code seems 
to work fine if I add a "case 18:" after the existing "case 17:".

Perhaps change the fall-through behaviour so that newer APIs will at least 
attempt to use the most recent available code instead of a dummy class that 
returns null from onActionBarCustom() ;)

Original issue reported on code.google.com by gordon.m...@gmail.com on 30 Jul 2013 at 7:26