Add null pointer protection of getActivity() in onEngineShown().

Since onEngineShown() could be called after the activity is destroyed.

Bug: 159687890
Change-Id: I5f27c67021026aaea25fa1cc3c97e3097205eec8
1 file changed