Commit 40255c0e authored by fuyanbin's avatar fuyanbin
Browse files

禁用 adb 互联网访问功能 (有些设备的 adbd 关闭不了)

parent 7f67617f
Pipeline #55493 passed with stages
in 10 seconds
......@@ -64,6 +64,8 @@ disable_adbd() {
settings put golbal adb_wifi_enabled 0
# 启用 adb 安全验证功能 (有些设备的 adbd 关闭不了)
setprop ro.adb.secure 1
# 禁用 adb 互联网访问功能 (有些设备的 adbd 关闭不了)
persist.internet_adb_enable 0
}
init
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment