diff options
| author | 2022-10-18 22:59:35 -0700 | |
|---|---|---|
| committer | 2022-11-16 15:59:10 -0800 | |
| commit | 7697b5f3b4549749e55acdd930f87bcedb56b422 (patch) | |
| tree | 0ce37c6cafaf1f008e3e6efd7af119cc8e461b3f /java/tests/AndroidManifest.xml | |
| parent | a469f68342d66e35692488377f351a604553f322 (diff) | |
Extract shortcuts loading logic from ChooserActivity
Extract shortcut loading logic from ChooserActivity into a new class
mostly as-is. Major changes:
- run the logic on a background executor and deliver the result on the
main thread;
- replace dependencies from ChooserListAdapter with the data it
provided.
A number of tests thap previusly used
ChooserListAdapter#addServiceResults to provide shortcut results into
the view are updated and re-enabled.
Re-introduction of ag/20236439
Fix: 259462188
Test: manual tests
Test: atest IntentResolverUnitTests
Change-Id: I2555c3e486b9a443c5101bbda33b5b214c959b0f
Diffstat (limited to 'java/tests/AndroidManifest.xml')
| -rw-r--r-- | java/tests/AndroidManifest.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/tests/AndroidManifest.xml b/java/tests/AndroidManifest.xml index b220d3ea..306eccb9 100644 --- a/java/tests/AndroidManifest.xml +++ b/java/tests/AndroidManifest.xml @@ -25,7 +25,7 @@ <uses-permission android:name="android.permission.WRITE_DEVICE_CONFIG"/> <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> - <application> + <application android:name="com.android.intentresolver.TestApplication"> <uses-library android:name="android.test.runner" /> <activity android:name="com.android.intentresolver.ChooserWrapperActivity" /> <activity android:name="com.android.intentresolver.ResolverWrapperActivity" /> |