diff options
| author | Cliff Wu <cliffwu@google.com> | 2021-03-11 00:27:26 +0800 |
|---|---|---|
| committer | Cliff Wu <cliffwu@google.com> | 2021-04-27 00:47:41 +0000 |
| commit | 84d364df81c9ebf0b7f0830df5f104142c4d220e (patch) | |
| tree | 854e55c7b39d890a9201c58ce1b6f332ecf79a0f /docs/html/sdk/api_diff/18/changes | |
| parent | 03c3c1bbad7642abacc3f9eaac1404c532592eda (diff) | |
DynamicCamera: Add new hidden APIs in CameraManager and new permission for injection camera
- Add new hidden APIs: injectCamera() and stopInjection() in
CameraManager.
- Add a new permission: android.permission.CAMERA_INJECT_EXTERNAL_CAMERA
to allow injecting the external camera to switch the internal camera.
- Add a new CameraInjectionSession class with stopInjection function,
which is called back by CameraInjectionCallback.onInjectionSucceeded(),
then the lifetime of CameraInjectionSession is what determines when
injection is active.
Bug: 181395010
Test: Verified camera manager use cases function as expected; no denials
Change-Id: I0b218dc6a55c7827e2446502b7a22382c6fe9f3e
Diffstat (limited to 'docs/html/sdk/api_diff/18/changes')
0 files changed, 0 insertions, 0 deletions
