mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 18:26:20 +00:00
Prevent crash
This commit is contained in:
parent
21fc808740
commit
123e808910
1 changed files with 10 additions and 0 deletions
|
@ -295,4 +295,14 @@ public class FixedEditText extends AppCompatEditText {
|
||||||
else
|
else
|
||||||
return super.getTextClassifier();
|
return super.getTextClassifier();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean onTextContextMenuItem(int id) {
|
||||||
|
try {
|
||||||
|
return super.onTextContextMenuItem(id);
|
||||||
|
} catch (Throwable ex) {
|
||||||
|
Log.e(ex);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue