Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d7f7172 authored by Sunny Shao's avatar Sunny Shao
Browse files

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
parent eeba25e2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -84,6 +84,7 @@ public class SpinnerPreference extends Preference {
            return;
        }
        if (!(state instanceof SavedState)) {
            super.onRestoreInstanceState(state);
            return;
        }
        SavedState savedState = (SavedState) state;