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

Commit 72443b0e authored by Jesse Vincent's avatar Jesse Vincent
Browse files

Fix for gcode issue #1 - - Can't use the hardware "back" button to back out of the message view

parent 4eeed9d1
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -101,14 +101,14 @@ public class MessageView extends Activity
    
       public boolean onKeyDown(int keyCode, KeyEvent event) {
        switch (keyCode) {
            case KeyEvent.KEYCODE_DEL: { onDelete(); break;}
            case KeyEvent.KEYCODE_F: { onForward(); break;}
            case KeyEvent.KEYCODE_A: { onReplyAll(); break; }
            case KeyEvent.KEYCODE_R: { onReply(); break; }
            case KeyEvent.KEYCODE_J: { onPrevious(); break; }
            case KeyEvent.KEYCODE_K: { onNext(); break; }
            }
        return true;
            case KeyEvent.KEYCODE_DEL: { onDelete(); return true;}
            case KeyEvent.KEYCODE_F: { onForward(); return true;}
            case KeyEvent.KEYCODE_A: { onReplyAll(); return true; }
            case KeyEvent.KEYCODE_R: { onReply(); return true; }
            case KeyEvent.KEYCODE_J: { onPrevious(); return true; }
            case KeyEvent.KEYCODE_K: { onNext(); return true; }
            }
           return super.onKeyDown(keyCode, event);
        }