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

Commit 05c70c7a authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Always resume view when relaunching with preserved window" into udc-dev am: ee0da966

parents a06bb95a ee0da966
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1136,7 +1136,7 @@ public final class ViewRootImpl implements ViewParent,
        // Make sure to report the completion of draw for relaunch with preserved window.
        // Make sure to report the completion of draw for relaunch with preserved window.
        reportNextDraw("rebuilt");
        reportNextDraw("rebuilt");
        // Make sure to resume this root view when relaunching its host activity which was stopped.
        // Make sure to resume this root view when relaunching its host activity which was stopped.
        if (mStopped && getHostVisibility() != View.GONE) {
        if (mStopped) {
            setWindowStopped(false);
            setWindowStopped(false);
        }
        }
    }
    }