Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77630d8a authored by jungheang.lee's avatar jungheang.lee Committed by Steve Kondik
Browse files

Appears black screen fix for a while

This issue is side-effect of added google patch on KK MR1.

Fix a couple of issues with mOpeningApps.
https://android.googlesource.com/platform/frameworks/base/+/a8ee262c04749db4f32f73d2b9e7f58989c4638b%5E%21/#F0

[Reproduce path]
Settings -> Location -> Location OFF -> Location ON -> "Location consent Dialog" Popup-> "Agree btn" press
-> Black screen appears for a while

Change-Id: I14efdce87e8d78d38f9aae48568f69937e4fe1fa
parent cc72a697
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4344,6 +4344,10 @@ public class WindowManagerService extends IWindowManager.Stub
            // If we are preparing an app transition, then delay changing
            // the visibility of this token until we execute that transition.
            if (okToDisplay() && mAppTransition.isTransitionSet()) {
                // Already in requested state, don't do anything more.
                if (wtoken.hiddenRequested != visible) {
                    return;
                }
                wtoken.hiddenRequested = !visible;

                if (!wtoken.startingDisplayed) {