From bcd7d9a29b5135438b18e36cee24d63d1449bfd0 Mon Sep 17 00:00:00 2001 From: butomo1989 Date: Mon, 13 Aug 2018 15:08:20 +0200 Subject: [PATCH] Back to user mode --- src/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.sh b/src/utils.sh index 5f25741..7d33229 100755 --- a/src/utils.sh +++ b/src/utils.sh @@ -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 }