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: If9650b38bde13104816cd868eb894f7158a37d21
This commit is contained in:
TreeHugger Robot
2021-06-18 00:22:14 +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);