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

Commit 511e50ac authored by Justin Weir's avatar Justin Weir Committed by Android (Google) Code Review
Browse files

Merge "Add logging to diagnose why shade isn't closing" into udc-dev

parents c2b50738 349e2b2c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2614,6 +2614,7 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
                }
                mRemoteInputManager.closeRemoteInputs();
                if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
                    mShadeLogger.d("ACTION_CLOSE_SYSTEM_DIALOGS intent: closing shade");
                    int flags = CommandQueue.FLAG_EXCLUDE_NONE;
                    if (reason != null) {
                        if (reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) {
@@ -2628,6 +2629,8 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
                        }
                    }
                    mShadeController.animateCollapseShade(flags);
                } else {
                    mShadeLogger.d("ACTION_CLOSE_SYSTEM_DIALOGS intent: non-matching user ID");
                }
            } else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
                if (mNotificationShadeWindowController != null) {