commit | df71f480dee389192a080fba6fe417f83506b33b | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Tue Feb 13 13:55:54 2024 -0500 |
committer | Mark Renouf <mrenouf@google.com> | Tue Feb 13 14:06:33 2024 -0500 |
tree | c44df4cedaafc2c51ebc768daa19e401693aaac6 | |
parent | 249753fec137c15b09f80712001fa9d78dc10ce7 [diff] |
Remove direct reference to Activity getIntent() ActivityLaunch provides activity-scoped values from launch time. This abstraction is important for testability, allowing us to consistently test startup conditions in isolation without involving actually starting an activity, or depending on the state of the system in any way. Test: atest IntentResolver-tests-activity Test: atest IntentResolver-tests-unit Change-Id: Iec8b6b7067c6535f723ab47d712e1a937000e1c4
IntentResolver
provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder