From 2ad02a383b036b02a836a50a43c679a17c2fde6b Mon Sep 17 00:00:00 2001 From: Ioana Stefan Date: Mon, 16 Nov 2020 16:58:10 +0000 Subject: [PATCH] Add permission for protecting UI tracing The new permission will protect the UI traces, allowing only wanted development tools to start the tracing. At the moment, the permission is planned to be used for WindowManager and InputMethod traces. Bug: 172444310 Test: N/A Change-Id: Ibdeb38dc9a066cb8ed2904adcdac29014b166526 --- core/res/AndroidManifest.xml | 6 ++++++ data/etc/privapp-permissions-platform.xml | 1 + packages/Shell/AndroidManifest.xml | 1 + 3 files changed, 8 insertions(+) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index a417f0c708b2c..e6619f58f273f 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3032,6 +3032,12 @@ + + + diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml index 0806e71519973..ce6deeab87faf 100644 --- a/data/etc/privapp-permissions-platform.xml +++ b/data/etc/privapp-permissions-platform.xml @@ -316,6 +316,7 @@ applications that come with the platform + diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index a9279971ce1e8..fa4da2826b54c 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -70,6 +70,7 @@ +