Allow Traceur to take START_FOREGROUND_SERVICES_FROM_BACKGROUND

As part of targetting the Android S API level, we need to explicitly
allow the privapp Traceur to start services from the background.

Test: atest TraceurUiTest
Bug: 176849372
Change-Id: I58c2a23653541f8516beedf0971d60403eedbb02
This commit is contained in:
Collin Fijalkovich
2021-01-06 11:41:12 -08:00
parent 0c04c92306
commit 89ff2a3fac

View File

@@ -445,6 +445,8 @@ applications that come with the platform
<privapp-permissions package="com.android.traceur">
<!-- Permissions required to receive BUGREPORT_STARTED intent -->
<permission name="android.permission.DUMP"/>
<!-- Permissions required to start/stop tracing -->
<permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/>
<!-- Permissions required for quick settings tile -->
<permission name="android.permission.STATUS_BAR"/>
</privapp-permissions>