Loading services/core/java/com/android/server/wm/WindowProcessController.java +8 −5 Original line number Diff line number Diff line Loading @@ -1315,15 +1315,18 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio * * @param isCached whether or not the process is cached. */ @HotPath(caller = HotPath.OOM_ADJUSTMENT) public void onProcCachedStateChanged(boolean isCached) { synchronized (mAtm.mGlobalLock) { if (!isCached && mPendingConfiguration != null) { if (!isCached) { synchronized (mAtm.mGlobalLockWithoutBoost) { if (mPendingConfiguration != null) { final Configuration config = mPendingConfiguration; mPendingConfiguration = null; dispatchConfigurationChange(config); } } } } /** * Called to notify {@link WindowProcessController} of a started service. Loading Loading
services/core/java/com/android/server/wm/WindowProcessController.java +8 −5 Original line number Diff line number Diff line Loading @@ -1315,15 +1315,18 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio * * @param isCached whether or not the process is cached. */ @HotPath(caller = HotPath.OOM_ADJUSTMENT) public void onProcCachedStateChanged(boolean isCached) { synchronized (mAtm.mGlobalLock) { if (!isCached && mPendingConfiguration != null) { if (!isCached) { synchronized (mAtm.mGlobalLockWithoutBoost) { if (mPendingConfiguration != null) { final Configuration config = mPendingConfiguration; mPendingConfiguration = null; dispatchConfigurationChange(config); } } } } /** * Called to notify {@link WindowProcessController} of a started service. Loading