Implement Settings UI for Screen zoom preference
Also cleans up unnecessary 0s and moves tint to the proper place in relevant vector drawable XML files. Preview layout is still WIP pending UX input, but I wanted to get this CL in place so that we can test/demo the feature ASAP. Bug: 22450672 Change-Id: Ic3f1500006c763df99fba2d1d16782b89d6fcae1
This commit is contained in:
@@ -76,7 +76,6 @@ public class DisplaySettings extends SettingsPreferenceFragment implements
|
||||
private static final String KEY_CAMERA_GESTURE = "camera_gesture";
|
||||
private static final String KEY_CAMERA_DOUBLE_TAP_POWER_GESTURE
|
||||
= "camera_double_tap_power_gesture";
|
||||
private static final String KEY_DISPLAY_DENSITY = "display_density";
|
||||
|
||||
private DropDownPreference mFontSizePref;
|
||||
|
||||
@@ -214,9 +213,6 @@ public class DisplaySettings extends SettingsPreferenceFragment implements
|
||||
mNightModePreference.setValue(String.valueOf(currentNightMode));
|
||||
mNightModePreference.setOnPreferenceChangeListener(this);
|
||||
}
|
||||
|
||||
final Preference displayDensity = findPreference(KEY_DISPLAY_DENSITY);
|
||||
displayDensity.setOnPreferenceChangeListener(this);
|
||||
}
|
||||
|
||||
private static boolean allowAllRotations(Context context) {
|
||||
|
Reference in New Issue
Block a user