From 16db5370eb40755e768e812896dc43e589e39c88 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Fri, 22 Jul 2022 07:45:04 -0700 Subject: [PATCH] Grant CONTROL_UI_TRACING permission to Settings app We are going to guard the following IPCs with CONTROL_UI_TRACING permission [1]. * IWindowManager#startWindowTrace() * IWindowManager#stopWindowTrace() * IInputMethodManager#startImeTrace() * IInputMethodManager#stopImeTrace() For QS DevelopmentTiles to continue being allowed to access those IPCs, this CL gives CONTROL_UI_TRACING to the Settings app. [1]: Ibdeb38dc9a066cb8ed2904adcdac29014b166526 2ad02a383b036b02a836a50a43c679a17c2fde6b Bug: 172444310 Test: Manually verified as follows. 1. build aosp_coral-userdebug and flash it. 2. adb shell dumpsys package com.android.settings 3. Verify that android.permission.CONTROL_UI_TRACING is granted. Change-Id: I2165ce38e5897ea0321fad9d54047e964a0a6ddb --- AndroidManifest.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 938e33d0fee..7096befe2b3 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -16,6 +16,7 @@ +