patch PhoneWindowManager part 1