Android->device:fix network adb port issue

This commit is contained in:
cjp
2019-01-08 11:14:16 +08:00
committed by cjp
parent 8dca3d00dc
commit ecadfec229
2 changed files with 9 additions and 9 deletions

View File

@ -210,3 +210,12 @@ on property:fireflywdt.active=false
write /dev/watchdog V
on property:netadb.status=true
setprop service.adb.tcp.port 5555
stop adbd
start adbd
on property:netadb.status=false
setprop service.adb.tcp.port 0
stop adbd
start adbd

View File

@ -422,15 +422,6 @@ on boot
class_start core
on property:netadb.status=true
setprop service.adb.tcp.port 5555
stop adbd
start adbd
on property:netadb.status=false
setprop service.adb.tcp.port 0
stop adbd
start adbd
on nonencrypted
class_start main