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

Commit 18e7ac67 authored by Alison Cichowlas's avatar Alison Cichowlas Committed by Android (Google) Code Review
Browse files

Merge "Log Volume visibility at INFO temporarily, to collect better data on...

Merge "Log Volume visibility at INFO temporarily, to collect better data on why it is sometimes not dismissed." into tm-qpr-dev
parents e16da5a4 6b2a0af0
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -1402,7 +1402,7 @@ public class VolumeDialogImpl implements VolumeDialog,

    private void showH(int reason, boolean keyguardLocked, int lockTaskModeState) {
        Trace.beginSection("VolumeDialogImpl#showH");
        if (D.BUG) Log.d(TAG, "showH r=" + Events.SHOW_REASONS[reason]);
        Log.i(TAG, "showH r=" + Events.SHOW_REASONS[reason]);
        mHandler.removeMessages(H.SHOW);
        mHandler.removeMessages(H.DISMISS);
        rescheduleTimeoutH();
@@ -1430,7 +1430,7 @@ public class VolumeDialogImpl implements VolumeDialog,
        final int timeout = computeTimeoutH();
        mHandler.sendMessageDelayed(mHandler
                .obtainMessage(H.DISMISS, Events.DISMISS_REASON_TIMEOUT, 0), timeout);
        if (D.BUG) Log.d(TAG, "rescheduleTimeout " + timeout + " " + Debug.getCaller());
        Log.i(TAG, "rescheduleTimeout " + timeout + " " + Debug.getCaller());
        mController.userActivity();
    }

@@ -1457,10 +1457,10 @@ public class VolumeDialogImpl implements VolumeDialog,

    protected void dismissH(int reason) {
        Trace.beginSection("VolumeDialogImpl#dismissH");
        if (D.BUG) {
            Log.d(TAG, "mDialog.dismiss() reason: " + Events.DISMISS_REASONS[reason]

        Log.i(TAG, "mDialog.dismiss() reason: " + Events.DISMISS_REASONS[reason]
                + " from: " + Debug.getCaller());
        }

        mHandler.removeMessages(H.DISMISS);
        mHandler.removeMessages(H.SHOW);
        if (mIsAnimatingDismiss) {