Merge "Use FooterPreference in xml explicitly"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4be1531107
@@ -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