summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2023-06-02 19:27:05 +0200
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-06-22 18:55:57 +0000
commit43e951b21d7dc6b8938f034e0eb3655d1f87ddae (patch)
treeee13b727229caeeab2bfb2f00a1c2ea8c7d4710f /libs/androidfw/FileStream.cpp
parent6dd365cf8fa5f10d8f201947f38c1752a1e5a970 (diff)
AudioDeviceBroker: ignore communication route requests by idle apps
Monitor playback and recording activity for apps in the communication clients stack. If the client is not the audio mode owner or not privileged, do not take its routing request into account. The inactive client remains in the stack. Also track communication route clients by UID instead of PID to facilitate matching with active players and recorders. Bug: 286545833 Test: atest AudioCommunicationDeviceTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:385ca73d1a95de3ad3998d78a5f0a28b43c9e8f5) Merged-In: I23f06b343efcc10c06a7eb482366c735da54da2d Change-Id: I23f06b343efcc10c06a7eb482366c735da54da2d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions