主控:rk3399
系统:android7.1
内核版本:4.4.126
补丁如下:
diff --git a/packages/apps/Settings/src/com/android/settings/DisplaySettings.java b/packages/apps/Settings/src/com/android/settings/DisplaySettings.java
index 4fe8dbf..edc128a 100755
--- a/packages/apps/Settings/src/com/android/settings/DisplaySettings.java
+++ b/packages/apps/Settings/src/com/android/settings/DisplaySettings.java
@@ -488,7 +488,7 @@ public class DisplaySettings extends SettingsPreferenceFragment implements
private void updateFontSizeSummary() {
final Context context = mFontSizePref.getContext();
final float currentScale = Settings.System.getFloat(context.getContentResolver(),
- Settings.System.FONT_SCALE, 1.0f);
+ Settings.System.FONT_SCALE, 1.0f); //1.55f
final Resources res = context.getResources();
final String[] entries = res.getStringArray(R.array.entries_font_size);
final String[] strEntryValues = res.getStringArray(R.array.entryvalues_font_size);
diff --git a/packages/apps/Settings/src/com/android/settings/accessibility/ToggleFontSizePreferenceFragment.java b/packages/apps/Settings/src/com/android/settings/accessibility/ToggleFontSizePreferenceFragment.java
index f246204..8f0c93a 100644
--- a/packages/apps/Settings/src/com/android/settings/accessibility/ToggleFontSizePreferenceFragment.java
+++ b/packages/apps/Settings/src/com/android/settings/accessibility/ToggleFontSizePreferenceFragment.java
@@ -46,7 +46,7 @@ public class ToggleFontSizePreferenceFragment extends PreviewSeekBarPreferenceFr
mEntries = res.getStringArray(R.array.entries_font_size);
final String[] strEntryValues = res.getStringArray(R.array.entryvalues_font_size);
final float currentScale =
- Settings.System.getFloat(resolver, Settings.System.FONT_SCALE, 1.0f);
+ Settings.System.getFloat(resolver, Settings.System.FONT_SCALE, 1.0f);//1.55f
mInitialIndex = fontSizeValueToIndex(currentScale, strEntryValues);
mValues = new float[strEntryValues.length];
for (int i = 0; i < strEntryValues.length; ++i) {