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

Commit aa5c5e31 authored by Henrik Baard's avatar Henrik Baard
Browse files

Remove fall through for KEYCODE_VOICE_ASSIST

Removing unintentional fallthrough for the case
KEYCODE_VOICE_ASSIST.

The code works today since KEYCODE_VOICE_ASSIST is the
last case in the switch statement, however it is bad
practice. If somone adds another case statement the
code will break.

Change-Id: Iee6234807bbe176bd94e2584de288105d6c6a7cb
parent aa87e89e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4512,6 +4512,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    msg.setAsynchronous(true);
                    msg.sendToTarget();
                }
                break;
            }
        }