diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-24 21:27:54 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-24 21:27:54 +0200 |
commit | 83bbab5b9d59adf48b1e2d9c51606c2a2abd7206 (patch) | |
tree | 159298fdec2fb7ee5d34e5b5327ab017d6b3194f | |
parent | a2e8e6bc4b1fa7a6b478ce699356bb3ab805492b (diff) |
fixed exception handler
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index debc7bdd2..2febcded4 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -1865,7 +1865,7 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke for (int i = pos; i >= 0; --i) { try { message = (Message) binding.messagesView.getItemAtPosition(i); - } catch (ArrayIndexOutOfBoundsException e) { + } catch (IndexOutOfBoundsException e) { //should not happen if we synchronize properly. however if that fails we just gonna try item -1 continue; } |