• Adam Powell's avatar
    Add ChooserTargetService API · e30c9af3
    Adam Powell authored
    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
    e30c9af3
Android.mk 50.3 KB