commit | f0c6a508f930c7dab1ec95fa6b322abdc6609bbe | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Fri Jan 26 12:03:59 2024 -0500 |
committer | Mark Renouf <mrenouf@google.com> | Tue Jan 30 13:04:58 2024 -0500 |
tree | 3bf332372067cb24a913f5d87bb0527c172c5509 | |
parent | f30cb97a784ba508a82863ef74ea0135355aad0c [diff] |
Rename CallerInfo -> ActivityLaunch and inject Rename CallerInfo to ActivityLaunch and renames some existing properties as appropriate for clarity. Adds the [Intent] from the activity. This completes the set of info that is needed as inputs from the caller, containing the extras with all request parameters. Updates readChooserRequest require only an ActivityLaunchInfo instance. Injects ActivityLaunch into usage sites. This removes the direct link of reading acitivty.intent, and will allow writing test code which operates directly on inputs without starting an activity. Introduces an extension method to minimize duplicated code in the activities: CreationExtras.addDefaultArgs: Bug: 300157408 Test: atest IntentResolver-tests-activity Test: atest IntentResolver-tests-unit:ActivityLaunchTest Change-Id: Ie132cb3d61e139e03316063186c3ad79d2c488ef
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder