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

Commit 45b84443 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Add a new permission ACCESS_BLOBS_ACROSS_USERS.

This will be used to guard access to blobs shared
across users.

Bug: 175844032
Test: treehugger
Change-Id: I1e6e60403228dd2dcc76257dcbcf08105a876a89
parent 5db986d7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ package android {
  public static final class Manifest.permission {
    field public static final String ACCESS_AMBIENT_LIGHT_STATS = "android.permission.ACCESS_AMBIENT_LIGHT_STATS";
    field public static final String ACCESS_BLOBS_ACROSS_USERS = "android.permission.ACCESS_BLOBS_ACROSS_USERS";
    field public static final String ACCESS_BROADCAST_RADIO = "android.permission.ACCESS_BROADCAST_RADIO";
    field public static final String ACCESS_CACHE_FILESYSTEM = "android.permission.ACCESS_CACHE_FILESYSTEM";
    field public static final String ACCESS_CONTEXT_HUB = "android.permission.ACCESS_CONTEXT_HUB";
+5 −0
Original line number Diff line number Diff line
@@ -2659,6 +2659,11 @@
    <permission android:name="android.permission.CREATE_USERS"
        android:protectionLevel="signature" />

    <!-- @SystemApi @hide Allows an application to access data blobs across users.
         This permission is not available to third party applications. -->
    <permission android:name="android.permission.ACCESS_BLOBS_ACROSS_USERS"
        android:protectionLevel="signature|privileged|development" />

    <!-- @hide Allows an application to set the profile owners and the device owner.
         This permission is not available to third party applications.-->
    <permission android:name="android.permission.MANAGE_PROFILE_AND_DEVICE_OWNERS"