Add a null protection for getContext() when updating preview in theme/grid fragment. am: c4d30d641a

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

Change-Id: I5ef8e1d8a050afb2d4303b0ed13146a4ce6520c1