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

Commit 07d75213 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 760 into donut

* changes:
  don't use modulo
parents 2108e5c7 d4cc32ca
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -228,8 +228,10 @@ public final class MotionEvent implements Parcelable {
            if (mHistory != null) {
                float[] history = mHistory;
                int length = history.length;
                for (int i = 0; i < length; i++) {
                for (int i = 0; i < length; i += 4) {
                    history[i] *= scale;
                    history[i + 2] *= scale;
                    history[i + 3] *= scale;
                }
            }
        }