Deprecate Activity.onStateNotSaved
This callback is no longer accurate, because it is basically onPreResume(), but onSaveInstance isn't related to Pause/Resume at all. In addition, this callback was added for framework fragments and they are deprecated bug: 113134425 Test: no logic changes Change-Id: I8f961846b52032d9760d5050a2d8ee5ec57c49cd
This commit is contained in:
@@ -3765,7 +3765,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);
|
||||
|
||||
Reference in New Issue
Block a user