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

Commit ebff65eb authored by wilsonshih's avatar wilsonshih Committed by Wei Sheng Shih
Browse files

Allow the starting window resize during relaunch activity.

So the transition could happen faster than wait for app relaunch
complete.

Flag: EXEMPT bugfix
Bug: 357798505
Test: follow issue description.
Change-Id: I817eb2fba9c06013cbc7103fdaf53b6c77c11043
parent ef6bba06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3754,7 +3754,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        // If the activity is scheduled to relaunch, skip sending the resized to ViewRootImpl now
        // since it will be destroyed anyway. This also prevents the client from receiving
        // windowing mode change before it is destroyed.
        if (inRelaunchingActivity()) {
        if (inRelaunchingActivity() && mAttrs.type != TYPE_APPLICATION_STARTING) {
            return;
        }
        // If this is an activity or wallpaper and is invisible or going invisible, don't report