commit | 0ccc0e9348e42fd8094bb12324f7c5bb6ca018ad | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Thu Apr 23 17:19:37 2015 -0700 |
committer | Adam Powell <adamp@google.com> | Mon Apr 27 17:11:29 2015 +0000 |
tree | f71ba4028fe4cccc6ddef4d0fdc10710dd4f0aa9 | |
parent | 0c2d0deb3666c7bb9c315212f5caec1bc1945611 [diff] [blame] |
Wire up caller chooser targets for ChooserActivity Add the caller-supplied ChooserTargets from EXTRA_CHOOSER_TARGETS in the default ChooserActivity. These appear before other options. Change-Id: Ic4d23ae9ecdfd0cc8a5ac077696d7334a8f844a6
diff --git a/core/java/com/android/internal/app/ResolverActivity.java b/core/java/com/android/internal/app/ResolverActivity.java index 7f51d92..8dd7836 100644 --- a/core/java/com/android/internal/app/ResolverActivity.java +++ b/core/java/com/android/internal/app/ResolverActivity.java
@@ -376,6 +376,10 @@ } } + public Intent getTargetIntent() { + return mIntent; + } + private String getReferrerPackageName() { final Uri referrer = getReferrer(); if (referrer != null && "android-app".equals(referrer.getScheme())) {