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

Commit d8dbe24c authored by Lucas Dupin's avatar Lucas Dupin Committed by Android (Google) Code Review
Browse files

Merge "Avoid warning log from InteractionJankMonitor in VolumeDialogImpl" into tm-dev

parents f55e3645 7bba6478
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1270,6 +1270,10 @@ public class VolumeDialogImpl implements VolumeDialog,
        return new Animator.AnimatorListener() {
            @Override
            public void onAnimationStart(@NonNull Animator animation) {
                if (!v.isAttachedToWindow()) {
                    if (D.BUG) Log.d(TAG, "onAnimationStart view do not attached to window:" + v);
                    return;
                }
                mInteractionJankMonitor.begin(Builder.withView(CUJ_VOLUME_CONTROL, v).setTag(type)
                        .setTimeout(timeout));
            }