blob: 7971f319c3dc0ac530da86fc884fbf93b0a092c2 [file]
[Service]
# adbd uses sd_notify to signal readiness; ExecStartPost runs only after
# READY=1 is sent, so no delay is needed before activating the UDC.
Environment=ANDROID_GADGET_UDC_DELAY=0
ExecStartPre=/usr/bin/android-gadget-setup
ExecStartPost=/usr/bin/android-gadget-start
ExecStopPost=/usr/bin/android-gadget-cleanup