mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 20:58:02 -05:00
Dummy code for history scrollback
This commit is contained in:
parent
d65a2ecbcb
commit
1a6027d380
@ -362,6 +362,16 @@ public class ConversationActivity extends Activity implements ServiceConnection,
|
||||
*/
|
||||
public boolean onKey(View view, int keyCode, KeyEvent event)
|
||||
{
|
||||
if (keyCode == KeyEvent.KEYCODE_DPAD_UP && event.getAction() == KeyEvent.ACTION_UP) {
|
||||
// XXX: History up (Implement me..)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN && event.getAction() == KeyEvent.ACTION_UP) {
|
||||
// XXX: History down (Implement me..)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) {
|
||||
if (!server.isConnected()) {
|
||||
Message message = new Message("Not connected");
|
||||
|
Loading…
Reference in New Issue
Block a user