Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:
- Moved to proper package.
- Returns right away when:
- AutofillService for package is already selected
- Autofill is not available
Bug: 37576671
Bug: 37673809
Test: manual verification
Test: make RunSettingsRoboTests -j90
Change-Id: Icda260cea1b4ce6cdefd8eff9625b2b768a5ed86
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 017d804..cffe357 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3078,6 +3078,7 @@
android:permission="android.permission.DUMP"
android:enabled="@bool/config_has_help" />
+
<!-- Activities for moves/gestures suggestions -->
<activity
android:name=".Settings$CameraLiftTriggerSuggestionActivity"
@@ -3096,9 +3097,17 @@
android:resource="@string/camera_lift_trigger_suggestion_summary" />
</activity>
- <activity android:name=".applications.defaultapps.AutofillPickerActivity"
- android:taskAffinity=""
- android:noHistory="true">
+ <activity android:name=".applications.autofill.AutofillPickerActivity"
+ android:excludeFromRecents="true"
+ android:launchMode="singleInstance"
+ android:exported="false">
+ </activity>
+
+ <activity android:name=".applications.autofill.AutofillPickerTrampolineActivity"
+ android:theme="@android:style/Theme.NoDisplay"
+ android:excludeFromRecents="true"
+ android:launchMode="singleInstance"
+ android:label="@string/autofill_app">
<intent-filter android:priority="1">
<action android:name="android.settings.REQUEST_SET_AUTOFILL_SERVICE" />
<category android:name="android.intent.category.DEFAULT" />