diff options
author | Ioana Stefan <ioanastefan@google.com> | 2020-11-16 16:58:10 +0000 |
---|---|---|
committer | Ioana Stefan <ioanastefan@google.com> | 2020-11-19 11:59:50 +0000 |
commit | 2ad02a383b036b02a836a50a43c679a17c2fde6b (patch) | |
tree | 2c9c125fb53cb68c39196c79f009419d03e30bd7 /packages/Shell | |
parent | 8cddd53381c7076052d4b0225505b0515488eed5 (diff) |
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
Diffstat (limited to 'packages/Shell')
-rw-r--r-- | packages/Shell/AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml index a9279971ce1e..fa4da2826b54 100644 --- a/packages/Shell/AndroidManifest.xml +++ b/packages/Shell/AndroidManifest.xml @@ -70,6 +70,7 @@ <uses-permission android:name="android.permission.SET_PROCESS_LIMIT" /> <uses-permission android:name="android.permission.SET_ALWAYS_FINISH" /> <uses-permission android:name="android.permission.DUMP" /> + <uses-permission android:name="android.permission.CONTROL_UI_TRACING" /> <uses-permission android:name="android.permission.SIGNAL_PERSISTENT_PROCESSES" /> <uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES" /> <!-- Internal permissions granted to the shell. --> |