Fix issue #4976176: Font size setting does not persist
Change-Id: Ie36c97680f43414b5cdc1615519527ba5e8fa902
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user