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

Commit 255490c3 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android (Google) Code Review
Browse files

Merge "Camera: Null check remote binder interface" into nyc-dev

parents ca94f293 0305624f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -55,8 +55,10 @@ public class ICameraDeviceUserWrapper {
    }

    public void unlinkToDeath(IBinder.DeathRecipient recipient, int flags) {
        if (mRemoteDevice.asBinder() != null) {
            mRemoteDevice.asBinder().unlinkToDeath(recipient, flags);
        }
    }

    public void disconnect()  {
        try {