diff options
author | Daichi Hirono <hirono@google.com> | 2018-06-25 11:16:41 +0900 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2019-05-09 13:39:25 -0700 |
commit | 97999565311a909a75b6214cb5076f2f7a067e16 (patch) | |
tree | 262b9f9e71b77db7cf546e3875700e220dafc7cb /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 60087566014bf8f69995fea8ab14427ff42a9c8e (diff) |
Stop invoke initAppOps in Camera default constructor.
Camera default constructor does not create the underlying native camera
object. Thus calling _enableShutterSound after the default constuctor
causes application crash.
Bug: 132362603
Bug: 80498247
Test: ARC++ Eve/Kevin:
Manually modify the code to return MODE_IGNORED for
AppOpsService#checkAudioOperation() and to return false for
CameraManager#supportsCamera2ApiLocked. Then start voice call in
Hangouts.
cf_x86_phone with camera HALv1 enabled:
New CTS test
Change-Id: Ia232dd71da15fda31c4dbe5568ba5083cbfaed9b
Merged-In: Id738c4d46a8e3625bc3b1142b11acac9cfb0b603
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions