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

Commit d554a684 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Check window alive by death recipient of window session" into main

parents cf942fca e739bcf4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3133,7 +3133,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP


    /** Checks whether the process hosting this window is currently alive. */
    /** Checks whether the process hosting this window is currently alive. */
    boolean isAlive() {
    boolean isAlive() {
        return mClient.asBinder().isBinderAlive();
        return !mSession.isClientDead();
    }
    }


    void sendAppVisibilityToClients() {
    void sendAppVisibilityToClients() {