summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCliff Wu <cliffwu@google.com>2021-03-11 00:27:26 +0800
committerCliff Wu <cliffwu@google.com>2021-04-27 00:47:41 +0000
commit84d364df81c9ebf0b7f0830df5f104142c4d220e (patch)
tree854e55c7b39d890a9201c58ce1b6f332ecf79a0f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent03c3c1bbad7642abacc3f9eaac1404c532592eda (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions