summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Jan Sebechlebsky <jsebechlebsky@google.com> 2022-12-16 16:26:47 +0100
committer Jan Sebechlebsky <jsebechlebsky@google.com> 2022-12-20 20:56:08 +0100
commitfb48c02d3fb53945c136799fdb8e613db1b21beb (patch)
tree45e8c7e5616d969b897fbe9ab32b3c55330ab375 /libs/androidfw/ApkParsing.cpp
parentfdc16a549ab0334eebe873707b6f1f6fab1570de (diff)
Delegate playSoundEffect calls to VDM for virtual context
When playSound is invoked on AudioManager instance asociated with context belonging to VirtualDevice with custom device policy for audio, this change delegates the request to play sound to VirtualDeviceManager. With just this change, this effectively disables sound effects for virtual devices with custom audio policy, in follow-up changes more options to handle sound effects will be added to VirtualDeviceManager (custom callback vs. device specific SoundPool). Bug: 261698699 Bug: 249777386 Test: atest AudioManagerUnitTest Change-Id: Iba2df745951ed087b8f15a4f210b5b1c7fd936cd
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions