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

Commit 70c78e08 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix possible ArrayIndexOutOfBoundsException"

parents c81b5c68 1bfae246
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ public class InputDeviceVibratorManager extends VibratorManager
        synchronized (mVibrators) {
            int[] vibratorIds = new int[mVibrators.size()];
            for (int idx = 0; idx < mVibrators.size(); idx++) {
                vibratorIds[idx++] = mVibrators.keyAt(idx);
                vibratorIds[idx] = mVibrators.keyAt(idx);
            }
            return vibratorIds;
        }