Add null check for base activity

Bug: 184870958
Test: Just a null check
Change-Id: Ib8dff1a1f319b216ce70732f5dfc444eac732637
1 file changed