fix: Prevent FATAL EXCEPTION crash when intent.getAction is undefined.

Bug: b/276698856
Test: adb shell am start -n com.google.android.providers.media.module/com.android.providers.media.photopicker.PhotoPickerActivity
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:99f2122e1362bb48d9a8c78203b38f5727a3ba68)
Merged-In: I3cd332f9bc9fb0a684f47fd414f571072bafbb1d
Change-Id: I3cd332f9bc9fb0a684f47fd414f571072bafbb1d
1 file changed