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

Commit c0268f41 authored by George Chan's avatar George Chan
Browse files

Fixed named GTS property to BICS ADB detection.

Change-Id: I10c6c111c8edbea72dc075e490d23e196a7e8307
Test: m
Flag: EXEMPT test fix
Bug: 394380792, 393580732
parent da3c41b2
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");