summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjiabin <jiabin@google.com>2018-04-19 16:39:44 -0700
committerjiabin <jiabin@google.com>2018-04-20 11:51:09 -0700
commit503e1fdcd12d2448807d408f00a361bff0857cab (patch)
tree26615aae29d0c02e729325d2d17932b385b675c8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent069c5b58b09d14263b9a86852d60da45651b3099 (diff)
Add OP_PLAY_AUDIO to control shutter sound.
The camera will play shutter sound through native layer instead of Java layer. That will cause shutter sound to bypass AppOps check. Add OP_PLAY_AUDIO checking to avoid shutter sound playing while DnD. Bug: 78136756 Test: Taking picture in Message with enable/disable DnD. Change-Id: Iba5e7ab19cf5565ba3f074d2aba194b60e18265f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions