Merge "Camera: Pass an executor during the extension characteristics service bind call" into sc-dev am: 4ed9ab51ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14986715 Change-Id: Ieacb33900ac19aa76f36c3d99ac69966ea4a6add
This commit is contained in:
@@ -270,9 +270,9 @@ public final class CameraExtensionCharacteristics {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
ctx.bindService(intent, mConnection, Context.BIND_AUTO_CREATE |
|
ctx.bindService(intent, Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT |
|
||||||
Context.BIND_IMPORTANT | Context.BIND_ABOVE_CLIENT |
|
Context.BIND_ABOVE_CLIENT | Context.BIND_NOT_VISIBLE,
|
||||||
Context.BIND_NOT_VISIBLE);
|
android.os.AsyncTask.THREAD_POOL_EXECUTOR, mConnection);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
mInitFuture.get(PROXY_SERVICE_DELAY_MS, TimeUnit.MILLISECONDS);
|
mInitFuture.get(PROXY_SERVICE_DELAY_MS, TimeUnit.MILLISECONDS);
|
||||||
|
|||||||
Reference in New Issue
Block a user