diff options
| author | Louis Chang <louischang@google.com> | 2021-04-26 01:19:44 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-04-26 01:19:44 +0000 |
| commit | d41d71e4f8ec7d99e69c43fb33aeab296e43100a (patch) | |
| tree | 807176eb74bd9bf3023199e5439ac88bd7358258 /core/java/android/app/ActivityThread.java | |
| parent | dc4c8ea3f5df9137aebafbdf67ac71b3647b1295 (diff) | |
| parent | 8b5afd93b6c63e99fe58104437a651b0bfebbbfd (diff) | |
Merge "Do not relaunch bg activities when application info changes" into sc-dev
Diffstat (limited to 'core/java/android/app/ActivityThread.java')
| -rw-r--r-- | core/java/android/app/ActivityThread.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index 6e0b83f7e33c..59f794b2bf36 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -5968,20 +5968,6 @@ public final class ActivityThread extends ClientTransactionHandler // Update all affected Resources objects to use new ResourcesImpl mResourcesManager.applyNewResourceDirsLocked(ai, oldResDirs); } - - ApplicationPackageManager.configurationChanged(); - - // Trigger a regular Configuration change event, only with a different assetsSeq number - // so that we actually call through to all components. - // TODO(adamlesinski): Change this to make use of ActivityManager's upcoming ability to - // store configurations per-process. - final Configuration config = mConfigurationController.getConfiguration(); - Configuration newConfig = new Configuration(); - newConfig.assetsSeq = (config != null ? config.assetsSeq : 0) + 1; - mConfigurationController.handleConfigurationChanged(newConfig, null /* compat */); - - // Preserve windows to avoid black flickers when overlays change. - relaunchAllActivities(true /* preserveWindows */, "handleApplicationInfoChanged"); } /** |
