Guard against NullPointerException when getActivity in PanelFragment

Fixes: 169729372
Test: build
Change-Id: I2f5bbb38015b71ecf82bc8ed7ab8e5815a2bd2f9
1 file changed