Adding null check for mNotificationShadeView

mNotificationShadeView sometimes is not initialized and it causes NPE
in some of CTS tests. Adding null check to fix the issues.

Bug: 222130505
Test: atest CompatChangeTests
Change-Id: I4360f89fd52e0f056f59eb39885569b5b57561ea
1 file changed