Loading services/core/java/com/android/server/pm/PackageInstallerService.java +3 −4 Original line number Diff line number Diff line Loading @@ -592,10 +592,9 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements params.installFlags &= ~PackageManager.INSTALL_REQUEST_DOWNGRADE; } if (callingUid != Process.SYSTEM_UID && (params.installFlags & ADB_DEV_MODE) != ADB_DEV_MODE) { // Only system_server or tools under specific conditions (test app installed // through ADB, and verification disabled flag specified) can disable verification. if ((params.installFlags & ADB_DEV_MODE) != ADB_DEV_MODE) { // Only tools under specific conditions (test app installed through ADB, and // verification disabled flag specified) can disable verification. params.installFlags &= ~PackageManager.INSTALL_DISABLE_VERIFICATION; } Loading services/core/java/com/android/server/pm/PackageManagerService.java +0 −4 Original line number Diff line number Diff line Loading @@ -14322,10 +14322,6 @@ public class PackageManagerService extends IPackageManager.Stub Global.PACKAGE_VERIFIER_INCLUDE_ADB, 1) != 0; } if ((installFlags & PackageManager.INSTALL_DISABLE_VERIFICATION) != 0) { return false; } // only when not installed from ADB, skip verification for instant apps when // the installer and verifier are the same. if ((installFlags & PackageManager.INSTALL_INSTANT_APP) != 0) { Loading
services/core/java/com/android/server/pm/PackageInstallerService.java +3 −4 Original line number Diff line number Diff line Loading @@ -592,10 +592,9 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements params.installFlags &= ~PackageManager.INSTALL_REQUEST_DOWNGRADE; } if (callingUid != Process.SYSTEM_UID && (params.installFlags & ADB_DEV_MODE) != ADB_DEV_MODE) { // Only system_server or tools under specific conditions (test app installed // through ADB, and verification disabled flag specified) can disable verification. if ((params.installFlags & ADB_DEV_MODE) != ADB_DEV_MODE) { // Only tools under specific conditions (test app installed through ADB, and // verification disabled flag specified) can disable verification. params.installFlags &= ~PackageManager.INSTALL_DISABLE_VERIFICATION; } Loading
services/core/java/com/android/server/pm/PackageManagerService.java +0 −4 Original line number Diff line number Diff line Loading @@ -14322,10 +14322,6 @@ public class PackageManagerService extends IPackageManager.Stub Global.PACKAGE_VERIFIER_INCLUDE_ADB, 1) != 0; } if ((installFlags & PackageManager.INSTALL_DISABLE_VERIFICATION) != 0) { return false; } // only when not installed from ADB, skip verification for instant apps when // the installer and verifier are the same. if ((installFlags & PackageManager.INSTALL_INSTANT_APP) != 0) {