Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 109fef9e authored by Gabriele M's avatar Gabriele M Committed by Michael Bestas
Browse files

su: Don't start daemon for adb only mode

adb root doesn't rely on su to work, so the daemon shouldn't
be started.

Change-Id: Ice9131b7efe9344df5d77fdbc465ce0b82dbe07f
parent c30dc1b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ on property:persist.sys.root_access=1
    start su_daemon

on property:persist.sys.root_access=2
    start su_daemon
    stop su_daemon

on property:persist.sys.root_access=3
    start su_daemon