Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45292785 authored by George Chan's avatar George Chan Committed by Android (Google) Code Review
Browse files

Merge "Fixed named GTS property to BICS ADB detection." into main

parents 16e7d300 c0268f41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -392,7 +392,7 @@ public class BackgroundInstallControlService extends SystemService {

    private boolean installedByAdb(String initiatingPackageName) {
        // GTS tests needs to adopt shell identity to install apps.
        if(!SystemProperties.get("gts.transparency.bg-install-apps").isEmpty()) {
        if(!SystemProperties.get("debug.gts.transparency.bg-install-apps").isEmpty()) {
            Slog.d(TAG, "handlePackageAdd: is GTS tests, skipping ADB check");
        } else if(PackageManagerServiceUtils.isInstalledByAdb(initiatingPackageName)) {
            Slog.d(TAG, "handlePackageAdd: is installed by ADB, skipping");