Just because you have ADB installed (for e.g. physical Android device
development) doesn't mean you necessarily want Waydroid to always also
get automatically connected, allow disabling this functionality.
"system_datetime",
"vendor_datetime",
"suspend_action",
"system_datetime",
"vendor_datetime",
"suspend_action",
+ "mount_overlays",
+ "auto_adb"]
# Config file/commandline default values
# $WORK gets replaced with the actual value for args.work (which may be
# Config file/commandline default values
# $WORK gets replaced with the actual value for args.work (which may be
],
"suspend_action": "freeze",
"mount_overlays": "True",
],
"suspend_action": "freeze",
"mount_overlays": "True",
}
defaults["images_path"] = defaults["work"] + "/images"
defaults["rootfs"] = defaults["work"] + "/rootfs"
}
defaults["images_path"] = defaults["work"] + "/images"
defaults["rootfs"] = defaults["work"] + "/rootfs"
""")
def userUnlocked(uid):
""")
def userUnlocked(uid):
+ cfg = tools.config.load(args)
logging.info("Android with user {} is ready".format(uid))
logging.info("Android with user {} is ready".format(uid))
- tools.helpers.net.adb_connect(args)
+ if cfg["waydroid"]["auto_adb"] == "True":
+ tools.helpers.net.adb_connect(args)
platformService = IPlatform.get_service(args)
if platformService:
platformService = IPlatform.get_service(args)
if platformService: