From 988fb10e39c29fdbd32109c0c0cff5c2e6d34465 Mon Sep 17 00:00:00 2001 From: Ivan Chiang Date: Fri, 14 Apr 2023 10:21:42 +0000 Subject: [PATCH] Add the permission for shell to test CtsVoiceInteractionTestCases To test the AlwaysOnHotwordDetector behavior in battery saver mode, we need the permission SOUND_TRIGGER_RUN_IN_BATTERY_SAVER. Bug: 271511359 Test: atest AlwaysOnHotwordDetectorTest Change-Id: I62c6fd21b58beddb1733f7e8e1bbf91b0b602b83 --- data/etc/privapp-permissions-platform.xml | 2 ++ packages/Shell/AndroidManifest.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 0faf62e03b145..ebfa47f9eb23b 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -515,6 +515,8 @@ applications that come with the platform + + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 78d93bd19a15f..751fbaad2abea 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -634,6 +634,9 @@ + + +