Skip to content

Commit 689586d

Browse files
author
Dianne Hackborn
committed
Fix framework side of #7132432 com.android.vending:...
...java.lang.IllegalStateException: Can not perform this action after onSaveInstanceStateat android.support.v4.app.FragmentManagerImpl .checkStateLoss(FragmentManager.java:1300) Framework fragment manager also needs to be told its state is not saved earlier. Change-Id: Ie5bb327fca6208f7eea6146a1b3223c61c9ecef6
1 parent 933a754 commit 689586d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/java/android/app/ActivityThread.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,6 +2700,7 @@ public final ActivityClientRecord performResumeActivity(IBinder token,
27002700
r.activity.mStartedActivity = false;
27012701
}
27022702
try {
2703+
r.activity.mFragments.noteStateNotSaved();
27032704
if (r.pendingIntents != null) {
27042705
deliverNewIntents(r, r.pendingIntents);
27052706
r.pendingIntents = null;

0 commit comments

Comments
 (0)