diff options
| author | 2023-04-10 16:53:18 -0400 | |
|---|---|---|
| committer | 2023-04-13 11:24:38 +0000 | |
| commit | 349e2b2c7fcc85100a729fed9ed886fd15fb06e5 (patch) | |
| tree | 54cfd8f800e1de1788916d556a90acf9d6b374e8 | |
| parent | d5842c6f78287296945a825646c057550d928684 (diff) | |
Add logging to diagnose why shade isn't closing
Test: presubmits are sufficient
Bug: 276997497
Change-Id: I22f25788a47ba1f902311fb5b081c607ccc8f935
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java index 7596ce08a53c..0ec20ca9a7e9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java @@ -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) { |