To be more efficient I coded two cases of changing the language. The first is that if launchAVD is supplied, we just launch the emulator in the correct language to begin with. The 2nd case is if we are not launching the AVD (and are instead using an already launched emulator or device), we reboot the device in the correct language / country. In order to change the OS language, you have to reboot the device. I am avoiding rebooting it in the case where we are the ones booting it in the first place.