summaryrefslogtreecommitdiff
path: root/packages/Shell/Android.bp
diff options
context:
space:
mode:
author Justin Lannin <jlannin@google.com> 2024-11-20 20:52:35 +0000
committer Justin Lannin <jlannin@google.com> 2024-11-20 20:52:35 +0000
commitc45c27bf8f4d3015ff560b773e708bb22c6cba7f (patch)
tree9046b746158401280b312257143a72803b9c811d /packages/Shell/Android.bp
parente83ada6df3be4dc4a2487db938ca149a41e7d952 (diff)
Shell: Add health permissions for CTS tests.
BODY_SENSORS is being replaced with granular permissions READ_HEART_RATE, READ_SKIN_TEMPERATURE, and READ_OXYGEN_SATURATION. BODY_SENSORS was previously granted to shell, add the new permissions to shell as well. BODY_SENSORS and the other health permissions are not added to privapp-permissions so not adding these there either. Change-Id: I9a2bfbbfa1d0fda55cabab6978bb96fb9e1610a6 Flag: android.permission.flags.replace_body_sensor_permission_enabled Test: atest ActivityManagerForegroundServiceTypeTest on Wear emulator Bug: 379983910
Diffstat (limited to 'packages/Shell/Android.bp')
-rw-r--r--packages/Shell/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/Shell/Android.bp b/packages/Shell/Android.bp
index 3350efc33ad8..5f810858b7cd 100644
--- a/packages/Shell/Android.bp
+++ b/packages/Shell/Android.bp
@@ -27,6 +27,7 @@ android_app {
],
flags_packages: [
"android.security.flags-aconfig",
+ "android.permission.flags-aconfig",
],
platform_apis: true,
certificate: "platform",
@@ -51,5 +52,6 @@ android_library {
manifest: "AndroidManifest.xml",
flags_packages: [
"android.security.flags-aconfig",
+ "android.permission.flags-aconfig",
],
}