Log volume dialog

Temporarily add logs in volume dialog to learn more about why the
dialg resists dismiss().

Bug: b/232606092
Test: CL is log-only.
Change-Id: Iae0ff674b263236ae4d699e56591b6d2b20ef884
This commit is contained in:
Behnam Heydarshahi
2023-02-17 21:13:24 +00:00
parent ce7c4bef3d
commit bcf0bd9075

View File

@@ -1398,6 +1398,7 @@ public class VolumeDialogImpl implements VolumeDialog, Dumpable,
@Override
public void onAnimationCancel(@NonNull Animator animation) {
mInteractionJankMonitor.cancel(CUJ_VOLUME_CONTROL);
Log.d(TAG, "onAnimationCancel");
}
@Override
@@ -1471,6 +1472,7 @@ public class VolumeDialogImpl implements VolumeDialog, Dumpable,
mHandler.removeMessages(H.DISMISS);
mHandler.removeMessages(H.SHOW);
if (mIsAnimatingDismiss) {
Log.d(TAG, "dismissH: isAnimatingDismiss");
return;
}
mIsAnimatingDismiss = true;