diff options
| author | Daichi Hirono <hirono@google.com> | 2018-06-25 11:16:41 +0900 |
|---|---|---|
| committer | Daichi Hirono <hirono@google.com> | 2018-06-25 02:23:13 +0000 |
| commit | cb63c640cdc8e95a76408a2e90048d9c0dee06de (patch) | |
| tree | d05298bc9a3b9ae7838196e372bf3e58b632baa7 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
| parent | 43dcdf898c788bba0877229d16c6ae68a497caf6 (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: 80498247
Test: Manually modify the code to return MODE_IGNORED for
AppOpsService#checkAudioOperation() and to return false for
CameraManager#supportsCamera2ApiLocked. Then start voice call in
Hangouts.
Change-Id: Id738c4d46a8e3625bc3b1142b11acac9cfb0b603
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions
