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

Commit 71735d38 authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

Preserve app window when it requests a relaunch

Help allow blank screens when the app calls Activity.recreate().

Test: Take YouTube app in-out of split-screen and make sure there is't
      a hole
Fixes 36567223

Change-Id: Ic4915153c2cb88cce9a1bea7500cf89be14c5aa4
parent a441da15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5026,7 +5026,7 @@ public class ActivityManagerService extends IActivityManager.Stub
            try {
                r.forceNewConfig = true;
                r.ensureActivityConfigurationLocked(0 /* globalChanges */,
                        false /* preserveWindow */);
                        true /* preserveWindow */);
            } finally {
                Binder.restoreCallingIdentity(origId);
            }