Merge "Dump state listeners to bug reports"

This commit is contained in:
Lucas Dupin
2022-02-15 16:31:58 +00:00
committed by Android (Google) Code Review

View File

@@ -507,6 +507,10 @@ public class StatusBarStateControllerImpl implements
pw.println(" mLeaveOpenOnKeyguardHide=" + mLeaveOpenOnKeyguardHide);
pw.println(" mKeyguardRequested=" + mKeyguardRequested);
pw.println(" mIsDozing=" + mIsDozing);
pw.println(" mListeners{" + mListeners.size() + "}=");
for (RankedListener rl : mListeners) {
pw.println(" " + rl.mListener);
}
pw.println(" Historical states:");
// Ignore records without a timestamp
int size = 0;