Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the ManageAssist page. Fixes: 139457944 Test: manual test Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.applications Change-Id: I89b6cac21e924774a1fcfe790863d8eaab8d6da7
This commit is contained in:
@@ -53,4 +53,10 @@
|
||||
android:title="@string/voice_input_settings_title"
|
||||
android:fragment="com.android.settings.applications.assist.DefaultVoiceInputPicker" />
|
||||
|
||||
<com.android.settingslib.widget.FooterPreference
|
||||
android:key="manage_assist_footer"
|
||||
android:title="@string/assist_footer"
|
||||
android:selectable="false"
|
||||
settings:searchable="false"/>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
@@ -68,14 +68,6 @@ public class ManageAssist extends DashboardFragment {
|
||||
use(AssistGestureSettingsPreferenceController.class).setAssistOnly(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
||||
mFooterPreferenceMixin.createFooterPreference()
|
||||
.setTitle(R.string.assist_footer);
|
||||
}
|
||||
|
||||
private static List<AbstractPreferenceController> buildPreferenceControllers(Context context,
|
||||
Lifecycle lifecycle) {
|
||||
final List<AbstractPreferenceController> controllers = new ArrayList<>();
|
||||
|
Reference in New Issue
Block a user