From 39ba8c9cc3137a31793a229dd7f21a63f1b3a946 Mon Sep 17 00:00:00 2001 From: Agatha Man Date: Mon, 13 Jul 2020 15:17:53 -0700 Subject: [PATCH] Add CAR_DRIVING_STATE and CAR_CONTROL_AUDIO_VOLUME permissions to run ATS tests AtsCarHostTestCases and AtsCarDeviceApp requires CAR_DRIVING_STATE. AtsDeviceInfo and AtsAudioDeviceTestCases requires CAR_CONTROL_AUDIO_VOLUME. Bug: 161193447 Test: m -j && run ats tests Change-Id: Ib16c6c5e54b489479c872cfa826b055262b797bb --- data/etc/privapp-permissions-platform.xml | 4 ++++ packages/Shell/AndroidManifest.xml | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index e6f4e27100ded..5cdcaba6ce48c 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -427,6 +427,10 @@ applications that come with the platform + + + + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 570c2ab3efd1d..3100e2fce0853 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -317,6 +317,11 @@ + + + + +