summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anna Zhuravleva <azhura@google.com> 2023-04-14 09:19:11 +0000
committer Anna Zhuravleva <azhura@google.com> 2023-04-18 12:05:11 +0000
commit57e46e877644b1a1bbd24d770c986d53d1e81d4c (patch)
tree27819058cf995c1ad2e2c37ed9ad0ac8335a4b60
parentdb7fb92a69785966ac731d6e43d5fa93e249bad7 (diff)
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
-rw-r--r--packages/Shell/AndroidManifest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 751fbaad2abe..a110f56d09bd 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -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" />