Merge "Log Volume visibility at INFO temporarily, to collect better data on why it is sometimes not dismissed." into tm-qpr-dev am: 18e7ac673a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20524034 Change-Id: Ifcc21785e96e924f7a8af03f1e7fb0833f6d4229 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1404,7 +1404,7 @@ public class VolumeDialogImpl implements VolumeDialog,
|
|||||||
|
|
||||||
private void showH(int reason, boolean keyguardLocked, int lockTaskModeState) {
|
private void showH(int reason, boolean keyguardLocked, int lockTaskModeState) {
|
||||||
Trace.beginSection("VolumeDialogImpl#showH");
|
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.SHOW);
|
||||||
mHandler.removeMessages(H.DISMISS);
|
mHandler.removeMessages(H.DISMISS);
|
||||||
rescheduleTimeoutH();
|
rescheduleTimeoutH();
|
||||||
@@ -1432,7 +1432,7 @@ public class VolumeDialogImpl implements VolumeDialog,
|
|||||||
final int timeout = computeTimeoutH();
|
final int timeout = computeTimeoutH();
|
||||||
mHandler.sendMessageDelayed(mHandler
|
mHandler.sendMessageDelayed(mHandler
|
||||||
.obtainMessage(H.DISMISS, Events.DISMISS_REASON_TIMEOUT, 0), timeout);
|
.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();
|
mController.userActivity();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1459,10 +1459,10 @@ public class VolumeDialogImpl implements VolumeDialog,
|
|||||||
|
|
||||||
protected void dismissH(int reason) {
|
protected void dismissH(int reason) {
|
||||||
Trace.beginSection("VolumeDialogImpl#dismissH");
|
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());
|
+ " from: " + Debug.getCaller());
|
||||||
}
|
|
||||||
mHandler.removeMessages(H.DISMISS);
|
mHandler.removeMessages(H.DISMISS);
|
||||||
mHandler.removeMessages(H.SHOW);
|
mHandler.removeMessages(H.SHOW);
|
||||||
if (mIsAnimatingDismiss) {
|
if (mIsAnimatingDismiss) {
|
||||||
|
|||||||
Reference in New Issue
Block a user