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

Commit ffb8bc08 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Android (Google) Code Review
Browse files

Merge "Allow the starting window resize during relaunch activity." into main

parents 18c6a0b5 ebff65eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3750,7 +3750,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