Merge "Use FooterPreference in xml explicitly"
This commit is contained in:
committed by
Android (Google) Code Review
commit
b843707ef5
@@ -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>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user