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

Commit 770f5ab2 authored by Neil Fuller's avatar Neil Fuller
Browse files

Add a new permission in AOSP

This adds a new permission in AOSP, so it can be referenced by the Shell
command, which presubmit suggests has to be maintained in AOSP.

Bug: 159891384
Test: build only
Exempt-From-Owner-Approval: jsharkey@ approved but it appears to have reset...?
Change-Id: Ic7d403e20731e9d6bd82d5b2e2758cc61989cc59
parent 4d233a83
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2682,6 +2682,14 @@
    <permission android:name="android.permission.SUGGEST_MANUAL_TIME_AND_ZONE"
        android:protectionLevel="signature" />

    <!-- Allows applications like settings to manage configuration associated with automatic time
         and time zone detection.
         <p>Not for use by third-party applications.
         @hide
    -->
    <permission android:name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION"
        android:protectionLevel="signature|privileged" />

    <!-- ==================================================== -->
    <!-- Permissions related to changing status bar   -->
    <!-- ==================================================== -->
+2 −0
Original line number Diff line number Diff line
@@ -427,6 +427,8 @@ applications that come with the platform
        <permission name="android.permission.CAPTURE_AUDIO_OUTPUT" />
        <!-- Permissions required for CTS test - AdbManagerTest -->
        <permission name="android.permission.MANAGE_DEBUGGING" />
        <!-- Permissions required for CTS test - TimeManagerTest -->
        <permission name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" />
    </privapp-permissions>

    <privapp-permissions package="com.android.statementservice">
+3 −0
Original line number Diff line number Diff line
@@ -326,6 +326,9 @@
    <!-- Permission needed for CTS test - DisplayTest -->
    <uses-permission android:name="android.permission.OVERRIDE_DISPLAY_MODE_REQUESTS" />

    <!-- Permission needed for CTS test - TimeManagerTest -->
    <uses-permission android:name="android.permission.MANAGE_TIME_AND_ZONE_DETECTION" />

    <application android:label="@string/app_label"
                android:theme="@android:style/Theme.DeviceDefault.DayNight"
                android:defaultToDeviceProtectedStorage="true"