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

Commit 5a29df1b authored by Scott Wiest's avatar Scott Wiest Committed by Android (Google) Code Review
Browse files

Merge "Checking for null proxy object before operating on a method of the...

Merge "Checking for null proxy object before operating on a method of the proxy object" into tm-qpr-dev
parents 17f47db7 9deb753f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -272,6 +272,9 @@ public final class CameraExtensionCharacteristics {
                    @Override
                    public void onServiceConnected(ComponentName component, IBinder binder) {
                        mProxy = ICameraExtensionsProxyService.Stub.asInterface(binder);
                        if (mProxy == null) {
                            throw new IllegalStateException("Camera Proxy service is null");
                        }
                        try {
                            mSupportsAdvancedExtensions = mProxy.advancedExtensionsSupported();
                        } catch (RemoteException e) {