Fix Java crash problem
- Add super.onRestoreInstanceState to fix "the Derived class did not call super.onRestoreInstanceState()" problem. Fixes: 286482228 Test: manual test Change-Id: I0a6b0f210835d4588151dfbd9792846e096f2655
This commit is contained in:
@@ -84,6 +84,7 @@ public class SpinnerPreference extends Preference {
|
||||
return;
|
||||
}
|
||||
if (!(state instanceof SavedState)) {
|
||||
super.onRestoreInstanceState(state);
|
||||
return;
|
||||
}
|
||||
SavedState savedState = (SavedState) state;
|
||||
|
Reference in New Issue
Block a user