summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorjiabin <jiabin@google.com>2020-12-14 21:13:30 -0800
committerEric Laurent <elaurent@google.com>2020-12-17 13:46:17 +0000
commit946d9f1d21b53aed2275544764d48157ab2fdb98 (patch)
tree42b2ccef462cf7e535d7116582a1dc8d71ec997f /libs/rs/rsg_ScriptJavaClass.cpp
parent0d094ad38e5beddf900bd5e9ca6246d4cb4c5379 (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 Merged-In: Ibfe414063a303118a5bb393d65ea5dc2323bf722 (cherry picked from commit de9005bab1751e23342bbc9f0f51213eea8885af)
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions