diff options
author | Daichi Hirono <hirono@google.com> | 2018-06-25 11:16:41 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2018-09-05 01:51:59 +0000 |
commit | 2dba5c84174cd4a2f3ddd66977a34c9e57a06277 (patch) | |
tree | 3c229f3186faddf198a46569268bd14f9ac7fa7d /tools/hiddenapi/generate_hiddenapi_lists.py | |
parent | 4eb385c5da1689b63f3fc9bf6bbf44865e9ffcb2 (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
Merged-In: Id738c4d46a8e3625bc3b1142b11acac9cfb0b603
(cherry picked from commit cb63c640cdc8e95a76408a2e90048d9c0dee06de)
Diffstat (limited to 'tools/hiddenapi/generate_hiddenapi_lists.py')
0 files changed, 0 insertions, 0 deletions