Merge "Camera: Null check remote binder interface" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
255490c33c
@@ -55,7 +55,9 @@ public class ICameraDeviceUserWrapper {
|
||||
}
|
||||
|
||||
public void unlinkToDeath(IBinder.DeathRecipient recipient, int flags) {
|
||||
mRemoteDevice.asBinder().unlinkToDeath(recipient, flags);
|
||||
if (mRemoteDevice.asBinder() != null) {
|
||||
mRemoteDevice.asBinder().unlinkToDeath(recipient, flags);
|
||||
}
|
||||
}
|
||||
|
||||
public void disconnect() {
|
||||
|
||||
Reference in New Issue
Block a user