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

Commit b22665db authored by Adrian Roos's avatar Adrian Roos
Browse files

DirectReply: fix lockscreen crash

Fixes a crash that happens when direct reply is triggered and
the view is detached between clicking and unlocking.

Change-Id: I647560a24f9a26a28e86df436b45d5f496454eb8
Fixes: 32171748
parent d183e0b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4231,7 +4231,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        }
        updateKeyguardState(staying, false /* fromShadeLocked */);

        if (viewToClick != null) {
        if (viewToClick != null && viewToClick.isAttachedToWindow()) {
            viewToClick.callOnClick();
        }