Fix issue #4976176: Font size setting does not persist

Change-Id: Ie36c97680f43414b5cdc1615519527ba5e8fa902
This commit is contained in:
Dianne Hackborn
2011-07-19 14:59:01 -07:00
parent b8370359a7
commit 92c8ebacc1
3 changed files with 3 additions and 3 deletions

View File

@@ -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");
}