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

Commit b40f2edd authored by Hai Zhang's avatar Hai Zhang
Browse files

Add a role for Shell.

This is essential for granting `internal|role` permissions to shell,
so that we have a way to test APIs protected by such permissions in
CTS.

Bug: 158736025
Test: adb shell dumpsys role
Change-Id: I15ff5f50f2a96ae8e2d6309a25a8d93558dfa5df
parent 6777f05b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -341,6 +341,7 @@ package android {
    field public static final int config_systemAutomotiveCluster = 17039400; // 0x1040028
    field public static final int config_systemAutomotiveProjection = 17039401; // 0x1040029
    field public static final int config_systemGallery = 17039399; // 0x1040027
    field public static final int config_systemShell = 17039402; // 0x104002a
  }
  public static final class R.style {
+2 −0
Original line number Diff line number Diff line
@@ -1946,6 +1946,8 @@
    <string name="config_systemAutomotiveProjection" translatable="false"></string>
    <!-- The name of the package that will hold the system cluster service role. -->
    <string name="config_systemAutomotiveCluster" translatable="false"></string>
    <!-- The name of the package that will hold the system shell role. -->
    <string name="config_systemShell" translatable="false">com.android.shell</string>

    <!-- The name of the package that will be allowed to change its components' label/icon. -->
    <string name="config_overrideComponentUiPackage" translatable="false"></string>
+2 −0
Original line number Diff line number Diff line
@@ -3120,6 +3120,8 @@
    <public name="config_systemAutomotiveCluster" />
    <!-- @hide @SystemApi @TestApi -->
    <public name="config_systemAutomotiveProjection" />
    <!-- @hide @SystemApi -->
    <public name="config_systemShell" />
  </public-group>

  <public-group type="id" first-id="0x01020055">