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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user