Merge "Autofill settings: Fix search" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
68f3726375
@@ -37,6 +37,7 @@
|
||||
<com.android.settings.widget.GearPreference
|
||||
android:fragment="com.android.settings.applications.defaultapps.DefaultAutofillPicker"
|
||||
android:key="default_autofill_main"
|
||||
android:title="@string/autofill_app"
|
||||
settings:keywords="@string/autofill_keywords">
|
||||
<extra
|
||||
android:name="for_work"
|
||||
|
@@ -38,6 +38,7 @@
|
||||
<com.android.settings.widget.GearPreference
|
||||
android:fragment="com.android.settings.applications.defaultapps.DefaultAutofillPicker"
|
||||
android:key="default_autofill_main"
|
||||
android:title="@string/autofill_app"
|
||||
settings:keywords="@string/autofill_keywords">
|
||||
<extra
|
||||
android:name="for_work"
|
||||
|
@@ -39,6 +39,7 @@
|
||||
<com.android.settings.widget.GearPreference
|
||||
android:fragment="com.android.settings.applications.defaultapps.DefaultAutofillPicker"
|
||||
android:key="default_autofill_work"
|
||||
android:title="@string/autofill_app"
|
||||
settings:searchable="false">
|
||||
<extra
|
||||
android:name="for_work"
|
||||
|
@@ -89,7 +89,7 @@ public class DefaultAutofillPreferenceControllerTest {
|
||||
final Preference pref = mock(Preference.class);
|
||||
|
||||
mController.updateState(pref);
|
||||
verify(pref).setSummary(R.string.app_list_preference_none);
|
||||
verify(pref).setTitle(R.string.app_list_preference_none);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user