Loading api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -3762,7 +3762,7 @@ package android.app { method public boolean onSearchRequested(android.view.SearchEvent); method public boolean onSearchRequested(); method protected void onStart(); method public void onStateNotSaved(); method public deprecated void onStateNotSaved(); method protected void onStop(); method protected void onTitleChanged(java.lang.CharSequence, int); method public boolean onTouchEvent(android.view.MotionEvent); core/java/android/app/Activity.java +5 −0 Original line number Diff line number Diff line Loading @@ -1349,7 +1349,12 @@ public class Activity extends ContextThemeWrapper * to give the activity a hint that its state is no longer saved -- it will generally * be called after {@link #onSaveInstanceState} and prior to the activity being * resumed/started again. * * @deprecated starting with {@link android.os.Build.VERSION_CODES#P} onSaveInstanceState is * called after {@link #onStop}, so this hint isn't accurate anymore: you should consider your * state not saved in between {@code onStart} and {@code onStop} callbacks inclusively. */ @Deprecated public void onStateNotSaved() { } Loading Loading
api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -3762,7 +3762,7 @@ package android.app { method public boolean onSearchRequested(android.view.SearchEvent); method public boolean onSearchRequested(); method protected void onStart(); method public void onStateNotSaved(); method public deprecated void onStateNotSaved(); method protected void onStop(); method protected void onTitleChanged(java.lang.CharSequence, int); method public boolean onTouchEvent(android.view.MotionEvent);
core/java/android/app/Activity.java +5 −0 Original line number Diff line number Diff line Loading @@ -1349,7 +1349,12 @@ public class Activity extends ContextThemeWrapper * to give the activity a hint that its state is no longer saved -- it will generally * be called after {@link #onSaveInstanceState} and prior to the activity being * resumed/started again. * * @deprecated starting with {@link android.os.Build.VERSION_CODES#P} onSaveInstanceState is * called after {@link #onStop}, so this hint isn't accurate anymore: you should consider your * state not saved in between {@code onStart} and {@code onStop} callbacks inclusively. */ @Deprecated public void onStateNotSaved() { } Loading