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

Commit d4cc32ca authored by Mitsuru Oshima's avatar Mitsuru Oshima
Browse files

don't use modulo

parent b1a7ffef
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;
                }
            }
        }