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

This commit is contained in:
TreeHugger Robot
2021-06-18 00:15:36 +00:00
committed by Android (Google) Code Review

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);