Loading services/core/java/com/android/server/am/ActivityManagerService.java +3 −6 Original line number Diff line number Diff line Loading @@ -26874,18 +26874,15 @@ public class ActivityManagerService extends IActivityManager.Stub @Override public void notifyDefaultDisplaySizeChanged() { synchronized (this) { if (mSystemServiceManager.isBootCompleted()) { Slog.i(TAG, "Killing processes because of display size change"); killAllBackgroundProcessesExcept(-1, ActivityManager.PROCESS_STATE_SERVICE); if (mSystemServiceManager.isBootCompleted() && mHomeProcess != null) { // TODO: Ugly hack to unblock the release if (mHomeProcess != null) { Slog.i(TAG, "Killing home process because of display size change"); removeProcessLocked(mHomeProcess, false, true, "kill home screen size"); } } } } } /** * Called by app main thread to wait for the network policy rules to get updated. Loading
services/core/java/com/android/server/am/ActivityManagerService.java +3 −6 Original line number Diff line number Diff line Loading @@ -26874,18 +26874,15 @@ public class ActivityManagerService extends IActivityManager.Stub @Override public void notifyDefaultDisplaySizeChanged() { synchronized (this) { if (mSystemServiceManager.isBootCompleted()) { Slog.i(TAG, "Killing processes because of display size change"); killAllBackgroundProcessesExcept(-1, ActivityManager.PROCESS_STATE_SERVICE); if (mSystemServiceManager.isBootCompleted() && mHomeProcess != null) { // TODO: Ugly hack to unblock the release if (mHomeProcess != null) { Slog.i(TAG, "Killing home process because of display size change"); removeProcessLocked(mHomeProcess, false, true, "kill home screen size"); } } } } } /** * Called by app main thread to wait for the network policy rules to get updated.