Client may use the out of date display ID when add the window token.

Add the null pointer checking when getDisplayContent.

Bug: 80001975
Test: atest WindowManagerSmokeTest ActivityManagerMultiDisplayTests
Change-Id: I1f5e4b11762a43b1a363c4c8974e08068d938023
1 file changed