diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/settings/AccessibilitySettings.java | 2 | ||||
-rw-r--r-- | src/com/android/settings/Display.java | 2 | ||||
-rw-r--r-- | src/com/android/settings/DisplaySettings.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/AccessibilitySettings.java b/src/com/android/settings/AccessibilitySettings.java index a2d7d8c..578268d 100644 --- a/src/com/android/settings/AccessibilitySettings.java +++ b/src/com/android/settings/AccessibilitySettings.java @@ -295,7 +295,7 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements try { mCurConfig.fontScale = mToggleLargeTextCheckBox.isChecked() ? LARGE_FONT_SCALE : 1; - ActivityManagerNative.getDefault().updateConfiguration(mCurConfig); + ActivityManagerNative.getDefault().updatePersistentConfiguration(mCurConfig); } catch (RemoteException e) { } } else if (POWER_BUTTON_ENDS_CALL_CHECKBOX.equals(key)) { diff --git a/src/com/android/settings/Display.java b/src/com/android/settings/Display.java index f90e0f0..fa29318 100644 --- a/src/com/android/settings/Display.java +++ b/src/com/android/settings/Display.java @@ -105,7 +105,7 @@ public class Display extends Activity implements View.OnClickListener { public void onClick(View v) { try { - ActivityManagerNative.getDefault().updateConfiguration(mCurConfig); + ActivityManagerNative.getDefault().updatePersistentConfiguration(mCurConfig); } catch (RemoteException e) { } finish(); diff --git a/src/com/android/settings/DisplaySettings.java b/src/com/android/settings/DisplaySettings.java index 6ab88d0..ae7a4ef 100644 --- a/src/com/android/settings/DisplaySettings.java +++ b/src/com/android/settings/DisplaySettings.java @@ -203,7 +203,7 @@ public class DisplaySettings extends SettingsPreferenceFragment implements public void writeFontSizePreference(Object objValue) { try { mCurConfig.fontScale = Float.parseFloat(objValue.toString()); - ActivityManagerNative.getDefault().updateConfiguration(mCurConfig); + ActivityManagerNative.getDefault().updatePersistentConfiguration(mCurConfig); } catch (RemoteException e) { Log.w(TAG, "Unable to save font size"); } |