diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-09-23 12:52:19 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-09-23 12:53:34 -0700 |
commit | 8da429e80d1778d7bcfbfbd64355c70fb466b3ce (patch) | |
tree | ddcb30f975b92b68ae9850819ddb9760779032bc /core/java | |
parent | c9e94ea6451958fce107580b54c183181de6aa22 (diff) | |
download | frameworks_base-8da429e80d1778d7bcfbfbd64355c70fb466b3ce.zip frameworks_base-8da429e80d1778d7bcfbfbd64355c70fb466b3ce.tar.gz frameworks_base-8da429e80d1778d7bcfbfbd64355c70fb466b3ce.tar.bz2 |
Fix issue #7209355, #7214271.
Issue #7209355: Intent on the secondary user results in an intent picker
in the Primary user.
Issue #7214271: Crash in system UI
Also fix a bug where I recently broke the removeTask() operation in the
activity manager where it would remove the wrong task.
Change-Id: I448c73a0e83a78d9d8d96b4629658c169888d275
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/content/pm/ResolveInfo.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/content/pm/ResolveInfo.java b/core/java/android/content/pm/ResolveInfo.java index e3749b4..07117fe 100644 --- a/core/java/android/content/pm/ResolveInfo.java +++ b/core/java/android/content/pm/ResolveInfo.java @@ -230,6 +230,21 @@ public class ResolveInfo implements Parcelable { public ResolveInfo() { } + public ResolveInfo(ResolveInfo orig) { + activityInfo = orig.activityInfo; + serviceInfo = orig.serviceInfo; + filter = orig.filter; + priority = orig.priority; + preferredOrder = orig.preferredOrder; + match = orig.match; + specificIndex = orig.specificIndex; + labelRes = orig.labelRes; + nonLocalizedLabel = orig.nonLocalizedLabel; + icon = orig.icon; + resolvePackageName = orig.resolvePackageName; + system = orig.system; + } + public String toString() { ComponentInfo ci = activityInfo != null ? activityInfo : serviceInfo; return "ResolveInfo{" |