diff options
author | 2024-02-13 13:55:54 -0500 | |
---|---|---|
committer | 2024-02-13 14:06:33 -0500 | |
commit | df71f480dee389192a080fba6fe417f83506b33b (patch) | |
tree | c44df4cedaafc2c51ebc768daa19e401693aaac6 /tests/shared/src | |
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
Diffstat (limited to 'tests/shared/src')
0 files changed, 0 insertions, 0 deletions