Merge "Camera: Pass an executor during the extension characteristics service bind call" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4ed9ab51ff
@@ -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