Merge "Ensure that the SIM language doesn't override the user language on the encryption UI." into lmp-dev

This commit is contained in:
Elliott Hughes
2014-10-13 20:55:29 +00:00
committed by Android (Google) Code Review

View File

@@ -860,6 +860,11 @@ class MountService extends IMountService.Stub
} catch (RemoteException e) {
Slog.e(TAG, "Error setting system locale from mount service", e);
}
// Temporary workaround for http://b/17945169.
Slog.d(TAG, "Setting system properties to " + systemLocale + " from mount service");
SystemProperties.set("persist.sys.language", locale.getLanguage());
SystemProperties.set("persist.sys.country", locale.getCountry());
}
/**