666d82a6d5c6a90e87591aea1aabac3d647cd541 |
|
16-Jul-2015 |
Adam Powell <adamp@google.com> |
Update ChooserTarget constructor to take ComponentName, Bundle Simplify ChooserTarget handling by requiring a target component and an extras bundle instead of a full PendingIntent/IntentSender. This simplifies the handling of URI grants from sending apps. Prune ChooserTargets that point at ComponentNames that don't share a package with the original matching Activity target or that aren't exported so that we don't show the user something they can't launch. Bug 22516282 Change-Id: I3439c0910b4fa4f95c7a881b529942c96ffc953e
/frameworks/base/core/java/android/service/chooser/ChooserTarget.java
|
13036beab1579fabe1a93e1839c13cb68a49adf6 |
|
12-May-2015 |
Adam Powell <adamp@google.com> |
Apply API feedback for ChooserTarget * Add better docs to ChooserTarget * Change ChooserTarget to use android.graphics.drawable.Icon instead of Bitmap * Preserve EXTRA_REFERRER when starting ChooserTargets Bug 21045119 Change-Id: If859b86344cebaed3eaae477af132e7d7600aba6
/frameworks/base/core/java/android/service/chooser/ChooserTarget.java
|
7d7580019e44e2e162df01ffff51de20ed0721b3 |
|
07-May-2015 |
Adam Powell <adamp@google.com> |
Bringing new Chooser UI closer to spec Separate the chooser targets into rows by type. Remove some API that was redundant with LabeledIntent, simplifying ChooserTarget. Change-Id: I90de471825f05d85e6ffbe72a32fb597be824a30
/frameworks/base/core/java/android/service/chooser/ChooserTarget.java
|
c6d5e3a406c0e80638304980bac13abaa703a9a0 |
|
23-Apr-2015 |
Adam Powell <adamp@google.com> |
Fixes for ChooserTargetActivity * Always ensure intent filter is supplied to a ChooserTargetService. * Add and clarify docs for ChooserTarget constructors. * Fix a bug where ChooserTargets were being parceled incorrectly. Change-Id: I32b70c424b0e6bb317e2eeb810566a30c21b9d53
/frameworks/base/core/java/android/service/chooser/ChooserTarget.java
|
2442841819f9554f9b5c8b9c147a51b04e50de4d |
|
02-Apr-2015 |
Adam Powell <adamp@google.com> |
Implement ChooserTargetService querying for ChooserActivity First cut at querying services provided by apps that offer ChooserTargetServices. This first implementation provides no ranking. Bind to a limit of 5 ChooserTargetServices and offer the ChooserTargets they provide as options in the system ChooserActivity. The chooser now presents targets as a grid and displays the activity icon from the referrer activity. Change-Id: I45db829f184fc78d4f18d42b2a60b25bc301eba8
/frameworks/base/core/java/android/service/chooser/ChooserTarget.java
|
e30c9af3566cfa14796144b352230709c7b5647d |
|
28-Feb-2015 |
Adam Powell <adamp@google.com> |
Add ChooserTargetService API A ChooserTargetService can be implemented by apps that wish to offer additional deep-link targets for the system intent chooser to in turn offer to the user. This allows apps to create contextually relevant shortcuts for UI flows that would otherwise require several steps of explicit disambiguation. For example, a chat app might offer one-touch access to recent conversations when sharing a photo to it from elsewhere. The chooser implementation must limit the number of ChooserTargetServices it elects to query in order to respect available system resources. Only the system chooser is permitted to bind to a ChooserTargetService. Change-Id: Ia7e075ee649c51cf2035f20aee166c5a27d91aeb
/frameworks/base/core/java/android/service/chooser/ChooserTarget.java
|