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

Commit fc31ef0d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Let confirmation dialog can appear" into rvc-dev am: 4e10d57e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11839906

Change-Id: I605161526cd86da572f91298aead905ead6f4828
parents 99f231a5 4e10d57e
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -241,12 +241,7 @@ public class AdbService extends IAdbManager.Stub {
    private AdbService(Context context) {
        mContext = context;
        mContentResolver = context.getContentResolver();

        boolean secureAdbEnabled = AdbProperties.secure().orElse(false);
        boolean dataEncrypted = "1".equals(SystemProperties.get("vold.decrypt"));
        if (secureAdbEnabled && !dataEncrypted) {
        mDebuggingManager = new AdbDebuggingManager(context);
        }

        initAdbState();
        LocalServices.addService(AdbManagerInternal.class, new AdbManagerInternalImpl());