Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55ab7e9a authored by Jared Finder's avatar Jared Finder
Browse files

Put fine eye tracking into a new permission group

Eye tracking is very sensitive data, however it also has one extremely
important use case to inform XR foveation. To communicate this unique
place in sensitivity move it into its own permission group.

FCRS_CODE: mbi7iqtfqdqwvr

Bug: 421905623
Change-Id: Ia43650e2ec98a7c04de213f7d68da371c6344b22
Flag: android.xr.xr_manifest_entries
Test: Checked that project still built.
parent 7b2c493f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -373,6 +373,7 @@ package android {
    field public static final String SENSORS = "android.permission-group.SENSORS";
    field public static final String SMS = "android.permission-group.SMS";
    field public static final String STORAGE = "android.permission-group.STORAGE";
    field @FlaggedApi("android.xr.xr_manifest_entries") public static final String XR_EYE_SENSITIVE = "android.permission-group.XR_EYE_SENSITIVE";
    field @FlaggedApi("android.xr.xr_manifest_entries") public static final String XR_TRACKING = "android.permission-group.XR_TRACKING";
    field @FlaggedApi("android.xr.xr_manifest_entries") public static final String XR_TRACKING_SENSITIVE = "android.permission-group.XR_TRACKING_SENSITIVE";
  }
+14 −4
Original line number Diff line number Diff line
@@ -5343,12 +5343,12 @@
                android:featureFlag="android.xr.xr_manifest_entries" />

    <!-- Used for permissions that are associated with accessing
         particularly sensitive XR tracking data.
         sensitive XR eye tracking data.

         @FlaggedApi(android.xr.Flags.FLAG_XR_MANIFEST_ENTRIES) -->
    <permission-group android:name="android.permission-group.XR_TRACKING_SENSITIVE"
                      android:label="@string/permgrouplab_xr_tracking_sensitive"
                      android:description="@string/permgroupdesc_xr_tracking_sensitive"
    <permission-group android:name="android.permission-group.XR_EYE_SENSITIVE"
                      android:label="@string/permgrouplab_xr_eye_sensitive"
                      android:description="@string/permgroupdesc_xr_eye_sensitive"
                      android:priority="100"
                      android:featureFlag="android.xr.xr_manifest_entries" />

@@ -5364,6 +5364,16 @@
                android:description="@string/permdesc_eye_tracking_fine"
                android:featureFlag="android.xr.xr_manifest_entries" />

    <!-- Used for permissions that are associated with accessing
         sensitive XR tracking data.

         @FlaggedApi(android.xr.Flags.FLAG_XR_MANIFEST_ENTRIES) -->
    <permission-group android:name="android.permission-group.XR_TRACKING_SENSITIVE"
                      android:label="@string/permgrouplab_xr_tracking_sensitive"
                      android:description="@string/permgroupdesc_xr_tracking_sensitive"
                      android:priority="100"
                      android:featureFlag="android.xr.xr_manifest_entries" />

    <!-- Allows an application to get head tracking data.  Unmanaged
         activities (OpenXR activities with the manifest property
         "android.window.PROPERTY_XR_ACTIVITY_START_MODE" set to
+7 −2
Original line number Diff line number Diff line
@@ -1014,15 +1014,20 @@
    <!-- Description of a category of application permissions, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=NONE]-->
    <string name="permgroupdesc_notifications">show notifications</string>
    <!-- Title of a category of application permissions, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=40]-->
    <string name="permgrouplab_xr_eye_sensitive">XR sensitive eye tracking data</string>
    <!-- Description of a category of application permissions, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=NONE]-->
    <string name="permgroupdesc_xr_eye_sensitive">access sensitive eye gaze data</string>
    <!-- Title of a category of application permissions, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=40]-->
    <string name="permgrouplab_xr_tracking">XR tracking data</string>
    <!-- Description of a category of application permissions, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=NONE]-->
    <string name="permgroupdesc_xr_tracking">access XR data about you and the environment around you</string>
    <!-- Title of a category of application permissions, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=40]-->
    <string name="permgrouplab_xr_tracking_sensitive">sensitive XR tracking data</string>
    <string name="permgrouplab_xr_tracking_sensitive">Sensitive XR tracking data</string>
    <!-- Description of a category of application permissions, listed so the user can choose whether they want to allow the application to do this. [CHAR LIMIT=NONE]-->
    <string name="permgroupdesc_xr_tracking_sensitive">access sensitive tracking data, such as eye gaze</string>
    <string name="permgroupdesc_xr_tracking_sensitive">access sensitive tracking data about you and the environment around you</string>
    <!-- Title for the capability of an accessibility service to retrieve window content. -->
    <string name="capability_title_canRetrieveWindowContent">Retrieve window content</string>