summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-08-05 15:01:28 -0700
committerDianne Hackborn <hackbod@google.com>2015-08-05 15:01:28 -0700
commit6bdd3a155fe380735d4108ddcc50b156c62406d0 (patch)
tree55457cd3918e67f2885e2d4af16fcdb9c78e788f /api
parent6bdc4637d7ac1df86e9d745ac483987107a71282 (diff)
downloadframeworks_base-6bdd3a155fe380735d4108ddcc50b156c62406d0.zip
frameworks_base-6bdd3a155fe380735d4108ddcc50b156c62406d0.tar.gz
frameworks_base-6bdd3a155fe380735d4108ddcc50b156c62406d0.tar.bz2
Fix issue #22843150: fragment transaction crash from onRequestPermisssionResult
Add new Activity callback to tell it when its saved state has been invalidated. The problem is that delivering the permission result does not go through a path where the compatibility code can see it first to mark its fragment manager as no longer having saved state. So this new callback gives it a place to do that. Change-Id: I5a4a185d9c746bae1afb5c588aba82c8daccf079
Diffstat (limited to 'api')
-rw-r--r--api/current.txt1
-rw-r--r--api/system-current.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index e16294e..44bcfed 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -3412,6 +3412,7 @@ package android.app {
method public boolean onSearchRequested(android.view.SearchEvent);
method public boolean onSearchRequested();
method protected void onStart();
+ method public void onStateNotSaved();
method protected void onStop();
method protected void onTitleChanged(java.lang.CharSequence, int);
method public boolean onTouchEvent(android.view.MotionEvent);
diff --git a/api/system-current.txt b/api/system-current.txt
index a784378..d99dd10 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -3516,6 +3516,7 @@ package android.app {
method public boolean onSearchRequested(android.view.SearchEvent);
method public boolean onSearchRequested();
method protected void onStart();
+ method public void onStateNotSaved();
method protected void onStop();
method protected void onTitleChanged(java.lang.CharSequence, int);
method public boolean onTouchEvent(android.view.MotionEvent);