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

Commit a2949e29 authored by Ethan Chen's avatar Ethan Chen
Browse files

SystemUI: Use Java range for volume tone tone generator

Change-Id: I1acef6923744abf782360f83e06b90d873ba20a9
parent 41e8bdc8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -858,8 +858,7 @@ public class VolumeDialogControllerImpl implements VolumeDialogController, Dumpa
    }

    protected void onStopSoundsW() {
        for (int i = mToneGenerators.length - 1; i >= 0; i--) {
            ToneGenerator toneGen = mToneGenerators[i];
        for (ToneGenerator toneGen : mToneGenerators) {
            if (toneGen != null) {
                toneGen.stopTone();
            }