aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-11 09:44:33 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-11 20:14:57 +0100
commitbb78f82b979b07f27478144cb11bf7fc9883e07b (patch)
tree3b196d6beee88b70b31d95c715a5b53bf2f4c852
parent61b1d2b1a6e393e3db15a5f2e2acc045f99d6e66 (diff)
try to fix crash
-rw-r--r--src/main/java/de/pixart/messenger/ui/EditMessage.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditMessage.java b/src/main/java/de/pixart/messenger/ui/EditMessage.java
index fceed3408..62d6a6aee 100644
--- a/src/main/java/de/pixart/messenger/ui/EditMessage.java
+++ b/src/main/java/de/pixart/messenger/ui/EditMessage.java
@@ -4,6 +4,7 @@ import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
+import android.support.annotation.Nullable;
import android.support.v13.view.inputmethod.EditorInfoCompat;
import android.support.v13.view.inputmethod.InputConnectionCompat;
import android.support.v13.view.inputmethod.InputContentInfoCompat;
@@ -150,6 +151,7 @@ public class EditMessage extends EmojiconEditText {
}
@Override
+ @Nullable
public InputConnection onCreateInputConnection(EditorInfo editorInfo) {
final InputConnection ic = super.onCreateInputConnection(editorInfo);