summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorjiabin <jiabin@google.com>2020-12-14 21:13:30 -0800
committerjiabin <jiabin@google.com>2020-12-15 10:53:22 -0800
commitde9005bab1751e23342bbc9f0f51213eea8885af (patch)
treefb1ff59a9e90abc2ca9235d820e50bc9d79fadc3 /tools/aapt2/java/JavaClassGenerator.cpp
parent1599b64849c08aea2eafc6e9d023cc198cdb6d37 (diff)
Add package name when initializing SoundPool.
The package name is useful for permission validation. Currently, package name is required when starting external vibration so that the vibrator service can verify if the app has the permission to start vibration. Bug: 175595599 Test: SoundPool tests in cts Test: play audio-coupled-haptic file using SoundPool. Change-Id: Ibfe414063a303118a5bb393d65ea5dc2323bf722
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions