From f9419287076fda61bf4e2cb5f42bb1ee9aba0909 Mon Sep 17 00:00:00 2001 From: Patrick Baumann Date: Tue, 13 Jun 2023 16:11:51 +0000 Subject: [PATCH] Remove incorrect statement from docs This change removes reference to the no longer used allowUpdateOwnership manifest attribute. Change-Id: I03c0581053036c2ea649eb4d2a77dcd39afc636b Test: N/A (doc only change) Fixes: 281898063 Bug: 281898063 --- core/java/android/content/pm/PackageInstaller.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/java/android/content/pm/PackageInstaller.java b/core/java/android/content/pm/PackageInstaller.java index 105b38a40825d..4b883cd4c17bc 100644 --- a/core/java/android/content/pm/PackageInstaller.java +++ b/core/java/android/content/pm/PackageInstaller.java @@ -3045,10 +3045,6 @@ 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 - * android:alllowUpdateOwnership - * attribute in their manifest to false. - * * Note: To enable the update ownership enforcement, the installer must have the * {@link android.Manifest.permission#ENFORCE_UPDATE_OWNERSHIP ENFORCE_UPDATE_OWNERSHIP} * permission.