hockeymikey / hox-cap-butn-brightness

Automatically exported from code.google.com/p/hox-cap-butn-brightness
GNU General Public License v3.0
0 stars 0 forks source link

Crash when Settings screen is rotated #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the "Settings" screen of the application
2. Rotate the device between landscape and portrait

Expected Behaviour:
Screen rotates

Actual Behaviour:
App crashes

java.lang.RuntimeException: Unable to start activity 
ComponentInfo{org.sleepydragon.capbutnbrightness/org.sleepydragon.capbutnbrightn
ess.SettingsActivity}: android.app.Fragment$InstantiationException: Unable to 
instantiate fragment 
org.sleepydragon.capbutnbrightness.SettingsActivity$SettingsFragement: make 
sure class name exists, is public, and has an empty constructor that is public

The fix is probably to make the SettingsFragement class public instead of 
private

Original issue reported on code.google.com by denver@sleepydragon.org on 20 Dec 2012 at 4:17

GoogleCodeExporter commented 8 years ago
fixed by changeset 4149552cd83c

Original comment by denver@sleepydragon.org on 21 Dec 2012 at 5:24