From 5c17bba24d796075d68a37c872cab6547d644793 Mon Sep 17 00:00:00 2001 From: Agatha Man Date: Fri, 24 Jul 2020 22:54:00 -0700 Subject: [PATCH] Add CAR_DIAGNOSTICS, CLEAR_CAR_DIAGNOSTICS, CONTROL_APP_BLOCKING, and CAR_UX_RESTRICTIONS_CONFIGURATION permissions to run ATS tests CarDeviceInfo requires CAR_DIAGNOSTICS, CLEAR_CAR_DIAGNOSTICS. AtsCarHostTestCases requires CONTROL_APP_BLOCKING and CAR_UX_RESTRICTIONS_CONFIGURATION. Note: This change allows anyone with a usb cable to write an app to call the protected APIs in her/his car. Bug: 162120802 Test: make Change-Id: I9d0e1266389170cca3624522820457e826bbc613 --- data/etc/privapp-permissions-platform.xml | 8 ++++++++ packages/Shell/AndroidManifest.xml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 5cdcaba6ce48c..4122988cd0a18 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -431,6 +431,14 @@ applications that come with the platform + + + + + + + + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index 3100e2fce0853..b142cfb7413c3 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -321,6 +321,14 @@ + + + + + + + +