(Android) get_environment_settings - make it more readable