do you really want the mtp server to run if mtp is switched off for the gadget ?
i think you rather want:
start on (:sys:android-usb-connected and :sys:android-mtp-on) and (started unity8)
(you dont want it to start if unity8 isnt up because you cant get the screen lock state then, thus the "and (started unity8)")
« Back to merge proposal
do you really want the mtp server to run if mtp is switched off for the gadget ?
i think you rather want:
start on (:sys:android- usb-connected and :sys:android- mtp-on) and (started unity8)
(you dont want it to start if unity8 isnt up because you cant get the screen lock state then, thus the "and (started unity8)")