Grant HealthFitness permissions to shell.
Grant permission to read exercise route and manage health permissions to shell to be able to use adopt shell identity in tests. Bug: 275530788 Test: checked on device that permission is granted Change-Id: I8859219e329aa1aef44cf2bc907f975d1554f466
This commit is contained in:
@@ -23,7 +23,9 @@
|
||||
>
|
||||
|
||||
<!-- Standard permissions granted to the shell. -->
|
||||
<uses-permission android:name="android.permission.MANAGE_HEALTH_PERMISSIONS" />
|
||||
<uses-permission android:name="android.permission.MANAGE_HEALTH_DATA" />
|
||||
<uses-permission android:name="android.permission.health.READ_EXERCISE_ROUTE" />
|
||||
<uses-permission android:name="android.permission.MIGRATE_HEALTH_CONNECT_DATA" />
|
||||
<uses-permission android:name="android.permission.LAUNCH_DEVICE_MANAGER_SETUP" />
|
||||
<uses-permission android:name="android.permission.GET_RUNTIME_PERMISSIONS" />
|
||||
|
||||
Reference in New Issue
Block a user