Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa32cd15 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 07a630d2: am 9a03a73a: am f6f87c98: Merge "Fix issue #4291805: Tap Fish...

am 07a630d2: am 9a03a73a: am f6f87c98: Merge "Fix issue #4291805: Tap Fish crashes on launch" into honeycomb-mr1

* commit '07a630d2':
  Fix issue #4291805: Tap Fish crashes on launch
parents 3758321f 07a630d2
Loading
Loading
Loading
Loading
+10 −11
Original line number Original line Diff line number Diff line
@@ -3892,9 +3892,7 @@ public final class ActivityManagerService extends ActivityManagerNative
            }
            }
            for (int i=0; i<intents.length; i++) {
            for (int i=0; i<intents.length; i++) {
                Intent intent = intents[i];
                Intent intent = intents[i];
                if (intent == null) {
                if (intent != null) {
                    throw new IllegalArgumentException("Null intent at index " + i);
                }
                    if (intent.hasFileDescriptors()) {
                    if (intent.hasFileDescriptors()) {
                        throw new IllegalArgumentException("File descriptors passed in Intent");
                        throw new IllegalArgumentException("File descriptors passed in Intent");
                    }
                    }
@@ -3905,6 +3903,7 @@ public final class ActivityManagerService extends ActivityManagerNative
                    }
                    }
                    intents[i] = new Intent(intent);
                    intents[i] = new Intent(intent);
                }
                }
            }
            if (resolvedTypes != null && resolvedTypes.length != intents.length) {
            if (resolvedTypes != null && resolvedTypes.length != intents.length) {
                throw new IllegalArgumentException(
                throw new IllegalArgumentException(
                        "Intent array length does not match resolvedTypes length");
                        "Intent array length does not match resolvedTypes length");