Ignore null actions.

Bug: 26862905
Change-Id: I30a21e67b0f60ebca5eaccc843834059e52a6b78
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index f486bd4..c211788 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -8923,7 +8923,8 @@
             mClipData.prepareToLeaveProcess(leavingPackage);
         }
 
-        if (mData != null && StrictMode.vmFileUriExposureEnabled() && leavingPackage) {
+        if (mAction != null && mData != null && StrictMode.vmFileUriExposureEnabled()
+                && leavingPackage) {
             switch (mAction) {
                 case ACTION_MEDIA_REMOVED:
                 case ACTION_MEDIA_UNMOUNTED: