Merge pull request #181 from GraemeF/patch-1

Fixed typo
This commit is contained in:
Budi Utomo 2019-07-24 12:03:05 +02:00 committed by GitHub
commit 611a93d926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ function wait_emulator_to_be_ready () {
function change_language_if_needed() { function change_language_if_needed() {
if [ ! -z "${LANGUAGE// }" ] && [ ! -z "${COUNTRY// }" ]; then if [ ! -z "${LANGUAGE// }" ] && [ ! -z "${COUNTRY// }" ]; then
wait_emulator_to_be_ready wait_emulator_to_be_ready
echo "Languge will be changed to ${LANGUAGE}-${COUNTRY}" echo "Language will be changed to ${LANGUAGE}-${COUNTRY}"
adb root && adb shell "setprop persist.sys.language $LANGUAGE; setprop persist.sys.country $COUNTRY; stop; start" && adb unroot adb root && adb shell "setprop persist.sys.language $LANGUAGE; setprop persist.sys.country $COUNTRY; stop; start" && adb unroot
echo "Language is changed!" echo "Language is changed!"
fi fi