Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b843707e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use FooterPreference in xml explicitly"

parents ec8232bb c83bb787
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -39,4 +39,10 @@
        settings:userRestriction="no_config_brightness"
        settings:allowDividerAbove="true" />

    <com.android.settingslib.widget.FooterPreference
        android:key="auto_brightness_footer"
        android:title="@string/auto_brightness_description"
        android:selectable="false"
        settings:searchable="false" />

</PreferenceScreen>
 No newline at end of file
+0 −2
Original line number Diff line number Diff line
@@ -37,8 +37,6 @@ public class AutoBrightnessSettings extends DashboardFragment {
    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        mFooterPreferenceMixin.createFooterPreference()
                .setTitle(R.string.auto_brightness_description);
    }

    @Override