diff options
author | Tim Hutt <tdhutt@gmail.com> | 2012-12-10 12:34:19 +0000 |
---|---|---|
committer | Tim Hutt <tdhutt@gmail.com> | 2012-12-10 12:34:19 +0000 |
commit | 5313c9f0271f961c439e2e3407fb66d0aabf98bb (patch) | |
tree | c994295d43a034479b3471e06b0a8023225c1a7e /core/java/android/app | |
parent | be5316e012d98cd3e74f8aff628c88845cc3fb13 (diff) | |
download | frameworks_base-5313c9f0271f961c439e2e3407fb66d0aabf98bb.zip frameworks_base-5313c9f0271f961c439e2e3407fb66d0aabf98bb.tar.gz frameworks_base-5313c9f0271f961c439e2e3407fb66d0aabf98bb.tar.bz2 |
Hopefully fix PendingIntent.getActivities() documentation wtf.
The first intent is the key. No wait, last! Or was it first?
I haven't actually read the code, didn't write it, and haven't tested
its behaviour, but surely it can't be both, and last is the only one
that makes sense.
Change-Id: Ie8435981f09be618c93680fb6056afd015090161
Diffstat (limited to 'core/java/android/app')
-rw-r--r-- | core/java/android/app/PendingIntent.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/app/PendingIntent.java b/core/java/android/app/PendingIntent.java index d36d99d..01c0634 100644 --- a/core/java/android/app/PendingIntent.java +++ b/core/java/android/app/PendingIntent.java @@ -289,7 +289,7 @@ public final class PendingIntent implements Parcelable { /** * Like {@link #getActivity(Context, int, Intent, int)}, but allows an - * array of Intents to be supplied. The first Intent in the array is + * array of Intents to be supplied. The last Intent in the array is * taken as the primary key for the PendingIntent, like the single Intent * given to {@link #getActivity(Context, int, Intent, int)}. Upon sending * the resulting PendingIntent, all of the Intents are started in the same @@ -335,7 +335,7 @@ public final class PendingIntent implements Parcelable { /** * Like {@link #getActivity(Context, int, Intent, int)}, but allows an - * array of Intents to be supplied. The first Intent in the array is + * array of Intents to be supplied. The last Intent in the array is * taken as the primary key for the PendingIntent, like the single Intent * given to {@link #getActivity(Context, int, Intent, int)}. Upon sending * the resulting PendingIntent, all of the Intents are started in the same |