diff options
| author | 2022-09-28 14:37:37 -0700 | |
|---|---|---|
| committer | 2022-10-03 14:09:24 -0700 | |
| commit | 8ce4d4290029b8f94a35ad4ed2459dd4d980b36b (patch) | |
| tree | 5521e5e67ad0f09e0946ad52a608f5433cc891a0 /java/tests/Android.bp | |
| parent | 02632503da6f22a658bc7a069cfa485a5dc4419a (diff) | |
Move shortcut processing logic into separate components.
As part of the ongoing architectural change, move shortcut processing
logic from ChooserListAdapter and ChooserActivity into spaparte
components with no functional changes; add unit tests.
The new ShrtcutToChooserTargetConverter class now contains previous
ChooserActivity’s convertToChooserTarget method; two related test cases
were moved from UnboundedChooserActivityTest class into the new
component’s test class.
The new ShortcutSelectionLogic class now contains previous
ChooserListAdapter’s addServiceResults and insertServiceTarget methods;
new unit tests added.
Test: atest IntentResolverUnitTests:ShortcutSelectionLogicTest
Test: atest IntentResolverUnitTests:ShortcutToChooserTargetConverterTest
Test: manual test
Fix: 249166394
Change-Id: I49baf7d4a435b1f270554fdf6e004875117a01d8
Diffstat (limited to 'java/tests/Android.bp')
| -rw-r--r-- | java/tests/Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/tests/Android.bp b/java/tests/Android.bp index fdabc4e0..92974aba 100644 --- a/java/tests/Android.bp +++ b/java/tests/Android.bp @@ -7,7 +7,7 @@ android_test { name: "IntentResolverUnitTests", // Include all test java files. - srcs: ["src/**/*.java"], + srcs: ["src/**/*.java", "src/**/*.kt"], libs: [ "android.test.runner", |