diff options
author | d34d <clark@cyngn.com> | 2016-08-01 14:41:49 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2016-08-02 14:41:21 -0700 |
commit | 0d9281412f9d0d39babac814c0c4894e9df1fcbf (patch) | |
tree | 147a859090278f1b9270dd56ee491cb76c0a4538 /services/core | |
parent | c291beac598a58ddd1f4e74c16943c310955dae5 (diff) | |
download | frameworks_base-0d9281412f9d0d39babac814c0c4894e9df1fcbf.zip frameworks_base-0d9281412f9d0d39babac814c0c4894e9df1fcbf.tar.gz frameworks_base-0d9281412f9d0d39babac814c0c4894e9df1fcbf.tar.bz2 |
am: Notify zygote of font change in ActivityManagerService
With the theme service being moved to its own context, it can no
longer set system properties so have ActivityManagerService take
care of this when updating the configuration.
Change-Id: Ia5cbbf921c7c716631db1e34f5e2b04c5d814328
Diffstat (limited to 'services/core')
-rwxr-xr-x | services/core/java/com/android/server/am/ActivityManagerService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 0a06bb5..8e89ad8 100755 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -17824,6 +17824,11 @@ public final class ActivityManagerService extends ActivityManagerNative !values.themeConfig.equals(mConfiguration.themeConfig)); } + if ((changes & ActivityInfo.CONFIG_THEME_FONT) != 0) { + // Notify zygote that themes need a refresh + SystemProperties.set(PROP_REFRESH_THEME, "1"); + } + mConfigurationSeq++; if (mConfigurationSeq <= 0) { mConfigurationSeq = 1; |