Fix NPE in testWindowContextAddMismatchedWindowType

fixes: 196781957
Test: atest WindowContextPolicyTests
Change-Id: If0f8e124f3ee7939bf1e121d6d73616ff07e0829
3 files changed