diff options
| author | 2022-03-23 02:11:11 +0800 | |
|---|---|---|
| committer | 2022-03-30 04:10:17 +0000 | |
| commit | ad1bf17965146e114738ea8348c2695ae5d9ecd6 (patch) | |
| tree | 4856c9e9b98dfa402a23615adebb8429e823580d /libs/androidfw/StringPool.cpp | |
| parent | 329edd60262afe45beaa948a99d20662e22b141e (diff) | |
Don't register playback/recording change if caller doesn't care it
When calling VirtualDeviceManager#createVirtualAudioDevice(), if the
caller pass null AudioConfigurationChangeCallback parameter, it means
the caller doesn't care the audio playback/recording change in virtual
display, and we should not register it with AudioManager for
optimization.
Bug: 218528439
Test: atest CtsVirtualDevicesTestCases
Change-Id: I00120f2506f593100ef8c523a4f6addffe46597b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions