Switched the order because of bug on Android 10 or higher
This commit is contained in:
parent
01d1c663c1
commit
0196d23103
|
@ -56,6 +56,8 @@ function enable_proxy_if_needed () {
|
|||
adb root
|
||||
|
||||
echo "Set up the Proxy"
|
||||
adb shell "content update --uri content://telephony/carriers --bind proxy:s:"0.0.0.0" --bind port:s:"$0000" --where "mcc=310" --where "mnc=260""
|
||||
sleep 5
|
||||
adb shell "content update --uri content://telephony/carriers --bind proxy:s:"${p[0]}" --bind port:s:"${p[1]}" --where "mcc=310" --where "mnc=260""
|
||||
|
||||
adb unroot
|
||||
|
@ -69,9 +71,9 @@ function enable_proxy_if_needed () {
|
|||
fi
|
||||
}
|
||||
|
||||
enable_proxy_if_needed
|
||||
sleep 1
|
||||
change_language_if_needed
|
||||
sleep 1
|
||||
enable_proxy_if_needed
|
||||
sleep 1
|
||||
install_google_play
|
||||
disable_animation
|
||||
|
|
Loading…
Reference in a new issue