diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2015-06-09 18:06:05 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2015-06-10 14:46:26 -0700 |
commit | 5c768f4c8584d93fae3f5e87c8fdcc88ecfba002 (patch) | |
tree | 192ae80aaae3907dd243aeea0b96539737bbcf6b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 113769d70b2221697ad9a9553da68ec6483cbfa1 (diff) |
SoundPool monitors AppOps for OP_PLAY_AUDIO
Fix performance regression in SoundPool by not checking SoundPool
can play audio everytime it's about to play.
Instead check for permission in constructor and register a listener
for changes on OP_PLAY_AUDIO.
Bug 20018833
Change-Id: I4e7a633d23b98653a149681d18a387cd560efe4d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions