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

Commit 35eefdb1 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by android-build-merger
Browse files

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

am: e01da423

* commit 'e01da423':
  Camera: Null check remote binder interface

Change-Id: I3e85f26afd79c6a580a74e9d2f63cafbb7c12001
parents a912446c e01da423
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -55,8 +55,10 @@ public class ICameraDeviceUserWrapper {
    }
    }


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


    public void disconnect()  {
    public void disconnect()  {
        try {
        try {