Merge "Guard against NullPointerException when getActivity in PanelFragment" into sc-dev am: fecc24cc53

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14124307

Change-Id: I5698f80013db895172cef98cef8550f2875e4951