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

Commit 7617abd1 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan Committed by Jay Sullivan
Browse files

[ECM] Declare MANAGE_ENHANCED_CONFIRMATION_STATES permission

Declare the MANAGE_ENHANCED_CONFIRMATION_STATES permission in the core
manifest.

We recently defined this permission in this file, but, we didn't
declare it (with uses-permission). And, some system services technically depend on it (e.g., EnhancedConfirmationService calls SystemConfigManager calls SystemConfigService which enforces that the caller has this), so we should declare it.

(Note that this is strictly a hint. System uid has access to the
permission regardless of whether we add this.)

Test: presubmit
Bug: 320512579
Change-Id: I8736f3a86d93362d8fbc1696d518c3e635679368
parent 62a68128
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3781,6 +3781,7 @@
        @hide This is not a third-party API (intended for OEMs and system apps). -->
    <permission android:name="android.permission.MANAGE_ENHANCED_CONFIRMATION_STATES"
                android:protectionLevel="signature|installer" />
    <uses-permission android:name="android.permission.MANAGE_ENHANCED_CONFIRMATION_STATES" />

    <!-- @SystemApi @hide Allows an application to set a device owner on retail demo devices.-->
    <permission android:name="android.permission.PROVISION_DEMO_DEVICE"