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

Commit 75969918 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Remove unused variable in AudioManager

Bug: 205124386
Change-Id: I938c9f017c762c076db3f1a60c2e9c18073bd039
Test: Presubmit. Should be trivially correct.
parent 26ef4c4c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -106,7 +106,6 @@ public class AudioManager {
    private Context mOriginalContext;
    private Context mApplicationContext;
    private @Nullable VirtualDeviceManager mVirtualDeviceManager; // Lazy initialized.
    private long mVolumeKeyUpTime;
    private static final String TAG = "AudioManager";
    private static final boolean DEBUG = false;
    private static final AudioPortEventHandler sAudioPortEventHandler = new AudioPortEventHandler();
@@ -911,7 +910,7 @@ public class AudioManager {
        int keyCode = event.getKeyCode();
        if (keyCode != KeyEvent.KEYCODE_VOLUME_DOWN && keyCode != KeyEvent.KEYCODE_VOLUME_UP
                && keyCode != KeyEvent.KEYCODE_VOLUME_MUTE
                && mVolumeKeyUpTime + AudioSystem.PLAY_SOUND_DELAY > SystemClock.uptimeMillis()) {
                && AudioSystem.PLAY_SOUND_DELAY > SystemClock.uptimeMillis()) {
            /*
             * The user has hit another key during the delay (e.g., 300ms)
             * since the last volume key up, so cancel any sounds.