commit | 703ec2682aa5eb367ea836ba16af37150f1873ea | [log] [tgz] |
---|---|---|
author | Oreste Salerno <oreste.salerno@tomtom.com> | Thu Dec 17 16:38:38 2020 +0100 |
committer | Oreste Salerno <oreste.salerno@tomtom.com> | Tue Dec 22 10:40:57 2020 +0100 |
tree | 03b2edeb101d7f110d25ef2cd470617ea422f4bb | |
parent | 712366758bcc7858d4b1454c4f87bf091abab0d7 [diff] |
Fix allowing playback capture for packages with shared UID Use getPackagesForUid in place of getNamesForUids to retrieve the list of packages for a certain UID. In case of shared UIDs, getNamesForUids does not return the list of packages belonging to the UID, but just a single item in the form "shared:<sharedUserId>", which causes isAudioPlaybackCaptureAllowed to always return false. Change-Id: I0da61945e17d013c3c7a5633f231dbfb8f06b248