Merge "Wait for camera extensions service during initialization" into sc-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2f68a663a9
@@ -263,12 +263,12 @@ public final class CameraExtensionCharacteristics {
|
||||
@Override
|
||||
public void onServiceConnected(ComponentName component, IBinder binder) {
|
||||
mProxy = ICameraExtensionsProxyService.Stub.asInterface(binder);
|
||||
mInitFuture.setStatus(true);
|
||||
try {
|
||||
mSupportsAdvancedExtensions = mProxy.advancedExtensionsSupported();
|
||||
} catch (RemoteException e) {
|
||||
Log.e(TAG, "Remote IPC failed!");
|
||||
}
|
||||
mInitFuture.setStatus(true);
|
||||
}
|
||||
};
|
||||
ctx.bindService(intent, Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT |
|
||||
|
||||
Reference in New Issue
Block a user