Merge "Mark AccessibilitySettings#update methods as protected."

This commit is contained in:
TreeHugger Robot
2018-02-13 22:51:32 +00:00
committed by Android (Google) Code Review

View File

@@ -470,7 +470,7 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
updateServicePreferences(); updateServicePreferences();
} }
private void updateServicePreferences() { protected void updateServicePreferences() {
// Since services category is auto generated we have to do a pass // Since services category is auto generated we have to do a pass
// to generate it since services can come and go and then based on // to generate it since services can come and go and then based on
// the global accessibility state to decided whether it is enabled. // the global accessibility state to decided whether it is enabled.
@@ -611,7 +611,7 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
} }
} }
private void updateSystemPreferences() { protected void updateSystemPreferences() {
// Move color inversion and color correction preferences to Display category if device // Move color inversion and color correction preferences to Display category if device
// supports HWC hardware-accelerated color transform. // supports HWC hardware-accelerated color transform.
if (isColorTransformAccelerated(getContext())) { if (isColorTransformAccelerated(getContext())) {