Prevent crash

This commit is contained in:
M66B
2020-10-12 10:22:46 +02:00
parent 39a21da8f6
commit 18125df958
2 changed files with 62 additions and 1 deletions

View File

@@ -87,6 +87,16 @@ public class FixedEditText extends AppCompatEditText {
}
}
@Override
public boolean dispatchTouchEvent(MotionEvent event) {
try {
return super.dispatchTouchEvent(event);
} catch (Throwable ex) {
Log.w(ex);
return false;
}
}
@Override
public boolean onTouchEvent(MotionEvent event) {
try {