diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 8355c4a22..f44e5c3d1 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -60,6 +60,7 @@
android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />
+
= 33) {
params.setPackageSource(PackageInstaller.PACKAGE_SOURCE_STORE);
}
+ if (Build.VERSION.SDK_INT >= 34) {
+ // Once the update ownership enforcement is enabled,
+ // the other installers will need the user action to update the package
+ // even if the installers have been granted the INSTALL_PACKAGES permission.
+ // The update ownership enforcement can only be enabled on initial installation.
+ // Set this to true on package update is a no-op.
+ params.setRequestUpdateOwnership(true);
+ }
return params;
}