Merge "Camera: Pass an executor during the extension characteristics service bind call" into sc-dev am: 4ed9ab51ff am: bc740c000c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14986715

Change-Id: I17eaf88477bc0090a6712acd1130e9c17158b1f8
This commit is contained in:
TreeHugger Robot
2021-06-18 00:23:40 +00:00
committed by Automerger Merge Worker

View File

@@ -270,9 +270,9 @@ public final class CameraExtensionCharacteristics {
}
}
};
ctx.bindService(intent, mConnection, Context.BIND_AUTO_CREATE |
Context.BIND_IMPORTANT | Context.BIND_ABOVE_CLIENT |
Context.BIND_NOT_VISIBLE);
ctx.bindService(intent, Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT |
Context.BIND_ABOVE_CLIENT | Context.BIND_NOT_VISIBLE,
android.os.AsyncTask.THREAD_POOL_EXECUTOR, mConnection);
try {
mInitFuture.get(PROXY_SERVICE_DELAY_MS, TimeUnit.MILLISECONDS);