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

Commit 104f0cfa authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Don't allow dialpad presses until it is fully in position" into klp-dev

parents 75245f68 5fb49ead
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -807,6 +807,9 @@ public class DialpadFragment extends Fragment
    }

    private void keyPressed(int keyCode) {
        if (getView().getTranslationY() != 0) {
            return;
        }
        switch (keyCode) {
            case KeyEvent.KEYCODE_1:
                playTone(ToneGenerator.TONE_DTMF_1, TONE_LENGTH_INFINITE);