mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Prevent crash
This commit is contained in:
@@ -195,6 +195,16 @@ public class FixedTextView extends AppCompatTextView {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onKeyPreIme(int keyCode, KeyEvent event) {
|
||||
try {
|
||||
return super.onKeyPreIme(keyCode, event);
|
||||
} catch (Throwable ex) {
|
||||
Log.w(ex);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user