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

Commit 394a0c13 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Referring to manifest attribute for updateowner

Bug: 271298593
Test: N/A
Change-Id: I72996d88558af4cf6edf47bbb19f7e05439608d5
parent fed68092
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2991,6 +2991,10 @@ public class PackageInstaller {
         * The update ownership enforcement can only be enabled on initial installation. Set
         * this to {@code true} on package update is a no-op.
         *
         * Apps may opt themselves out of update ownership by setting the
         * <a href="https://developer.android.com/guide/topics/manifest/manifest-element.html#allowupdateownership">android:alllowUpdateOwnership</a>
         * attribute in their manifest to <code>false</code>.
         *
         * Note: To enable the update ownership enforcement, the installer must have the
         * {@link android.Manifest.permission#ENFORCE_UPDATE_OWNERSHIP ENFORCE_UPDATE_OWNERSHIP}
         * permission.