Merge "Let confirmation dialog can appear" am: c98338dec0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1326491 Change-Id: I3e1a1f469ad07235d82225d990b9ad1a5f22a4fd
This commit is contained in:
@@ -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);
|
||||
}
|
||||
mDebuggingManager = new AdbDebuggingManager(context);
|
||||
|
||||
initAdbState();
|
||||
LocalServices.addService(AdbManagerInternal.class, new AdbManagerInternalImpl());
|
||||
|
||||
Reference in New Issue
Block a user