Add Null checks to NavigationBarView

An apparent race condition means that the NavigationBarView tries to
use the NotificationPanelViewController before the StatusBar has
had an opportunity to create it.

Fixes: 156242260
Test: atest SystemUITests
Change-Id: I588fca9eeb3121cab30d714b1c1a55397d2f0da5
1 file changed