Referring to manifest attribute for updateowner
Bug: 271298593 Test: N/A Change-Id: I72996d88558af4cf6edf47bbb19f7e05439608d5
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user