Merge "Let confirmation dialog can appear" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4e10d57e34
@@ -241,12 +241,7 @@ public class AdbService extends IAdbManager.Stub {
|
|||||||
private AdbService(Context context) {
|
private AdbService(Context context) {
|
||||||
mContext = context;
|
mContext = context;
|
||||||
mContentResolver = context.getContentResolver();
|
mContentResolver = context.getContentResolver();
|
||||||
|
mDebuggingManager = new AdbDebuggingManager(context);
|
||||||
boolean secureAdbEnabled = AdbProperties.secure().orElse(false);
|
|
||||||
boolean dataEncrypted = "1".equals(SystemProperties.get("vold.decrypt"));
|
|
||||||
if (secureAdbEnabled && !dataEncrypted) {
|
|
||||||
mDebuggingManager = new AdbDebuggingManager(context);
|
|
||||||
}
|
|
||||||
|
|
||||||
initAdbState();
|
initAdbState();
|
||||||
LocalServices.addService(AdbManagerInternal.class, new AdbManagerInternalImpl());
|
LocalServices.addService(AdbManagerInternal.class, new AdbManagerInternalImpl());
|
||||||
|
|||||||
Reference in New Issue
Block a user