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

Commit 7e1cb552 authored by Jim Miller's avatar Jim Miller
Browse files

Don't crash if client token is null.

Test: verify that fingerprint clients still work and that
null client no longer crashes systemui.

Fixes bug 35806157

Change-Id: Icda7fb538caf50ba44297fe8e47c35aed1275280
parent d7f52c1b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -68,7 +68,9 @@ public abstract class ClientMonitor implements IBinder.DeathRecipient {
        mIsRestricted = restricted;
        mOwner = owner;
        try {
            if (token != null) {
                token.linkToDeath(this, 0);
            }
        } catch (RemoteException e) {
            Slog.w(TAG, "caught remote exception in linkToDeath: ", e);
        }