Remove set_android_window(), use shared global variable instead