Commit 2bec7752 authored by Grigory Fedorov's avatar Grigory Fedorov

Fix for #455 "entered text" typing notification.

parent f48d8fa9
...@@ -63,7 +63,7 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem ...@@ -63,7 +63,7 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
boolean isInputEmpty = true; boolean isInputEmpty = true;
private EditText inputView; private EditText inputView;
private ChatMessageAdapter chatMessageAdapter; private ChatMessageAdapter chatMessageAdapter;
private boolean skipOnTextChanges; private boolean skipOnTextChanges = false;
private String account; private String account;
private String user; private String user;
private ImageButton sendButton; private ImageButton sendButton;
...@@ -188,15 +188,6 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem ...@@ -188,15 +188,6 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
} }
}); });
inputView.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
if (!hasFocus) {
ChatStateManager.getInstance().onPaused(account, user);
}
}
});
inputView.addTextChangedListener(new TextWatcher() { inputView.addTextChangedListener(new TextWatcher() {
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment