Skip to content
Snippets Groups Projects
Commit af30a90e authored by Alan Stokes's avatar Alan Stokes Committed by Android (Google) Code Review
Browse files

Merge "Test harness setting shouldn't prevent verification."

parents b7d554f4 9c190968
No related branches found
No related tags found
No related merge requests found
......@@ -13218,10 +13218,6 @@ public class PackageManagerService extends IPackageManager.Stub
 
// Check if installing from ADB
if ((installFlags & PackageManager.INSTALL_FROM_ADB) != 0) {
// Do not run verification in a test harness environment
if (ActivityManager.isRunningInTestHarness()) {
return false;
}
if (isUserRestricted(userId, UserManager.ENSURE_VERIFY_APPS)) {
return true;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment