Merge "Add logging to diagnose why shade isn't closing" into udc-dev am: 511e50aca8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22555069 Change-Id: I3ef06d2c5514fc6fbb4b49a94ca78226dd01b0c0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2614,6 +2614,7 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
|
|||||||
}
|
}
|
||||||
mRemoteInputManager.closeRemoteInputs();
|
mRemoteInputManager.closeRemoteInputs();
|
||||||
if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
|
if (mLockscreenUserManager.isCurrentProfile(getSendingUserId())) {
|
||||||
|
mShadeLogger.d("ACTION_CLOSE_SYSTEM_DIALOGS intent: closing shade");
|
||||||
int flags = CommandQueue.FLAG_EXCLUDE_NONE;
|
int flags = CommandQueue.FLAG_EXCLUDE_NONE;
|
||||||
if (reason != null) {
|
if (reason != null) {
|
||||||
if (reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) {
|
if (reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) {
|
||||||
@@ -2628,6 +2629,8 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
mShadeController.animateCollapseShade(flags);
|
mShadeController.animateCollapseShade(flags);
|
||||||
|
} else {
|
||||||
|
mShadeLogger.d("ACTION_CLOSE_SYSTEM_DIALOGS intent: non-matching user ID");
|
||||||
}
|
}
|
||||||
} else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
|
} else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
|
||||||
if (mNotificationShadeWindowController != null) {
|
if (mNotificationShadeWindowController != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user