mirror of
https://github.com/budtmo/docker-android.git
synced 2026-07-28 06:32:17 +00:00
Back to user mode
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ function change_language_if_needed() {
|
||||
if [ ! -z "${LANGUAGE// }" ] && [ ! -z "${COUNTRY// }" ]; then
|
||||
wait_emulator_to_be_ready
|
||||
echo "Languge will be changed to ${LANGUAGE}-${COUNTRY}"
|
||||
adb root && adb shell "setprop persist.sys.language $LANGUAGE; setprop persist.sys.country $COUNTRY; stop; start"
|
||||
adb root && adb shell "setprop persist.sys.language $LANGUAGE; setprop persist.sys.country $COUNTRY; stop; start" && adb unroot
|
||||
echo "Language is changed!"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user