commit | 269acb4c605fc60a59fc9b935b51cfd5dbb496fe | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Apr 23 16:53:22 2021 +0200 |
committer | Eric Laurent <elaurent@google.com> | Fri Apr 23 16:53:22 2021 +0200 |
tree | 14c3f916e4a6f55c4241d1295eb402164b549126 | |
parent | 6fea7f005c004bae852c66b148f14adfc60ff872 [diff] |
audio: add command to purge permission cache Add a media_audio_policy service command and helper function in ServiceUtilities to purge permission cache. This permists to restore the use of permission cache for CAPTURE_AUDIO_HOTWORD permission while still allowing CTS tests to adopt shell permission. Bug: 185972521 Test: atest AudioRecordSharedAudioTest Change-Id: Ib8963053d6d7734e474174f572762abe1a4be13b