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

Commit b852170e authored by kholoud mohamed's avatar kholoud mohamed
Browse files

Add setup protection level to MANAGE_PROFILE_AND_DEVICE_OWNERS

Bug: 209752695
Test: atest android.permission2.cts.PermissionPolicyTest#platformPermissionPolicyIsUnaltered

Change-Id: Ibe04a81bece58d0568403f543a56e2836f462639
parent 12667f03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2797,7 +2797,7 @@
    <!-- @SystemApi @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"
        android:protectionLevel="signature|role"
        android:protectionLevel="signature|role|setup"
        android:label="@string/permlab_manageProfileAndDeviceOwners"
        android:description="@string/permdesc_manageProfileAndDeviceOwners" />