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
This commit is contained in:
Gabriele M 2017-04-30 18:16:45 +02:00 committed by Michael Bestas
parent c30dc1b5ea
commit 109fef9e1e
No known key found for this signature in database
GPG Key ID: 913E2F936DD5E2D7
1 changed files with 1 additions and 1 deletions

View File

@ -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