Prevent crash

pull/198/head
M66B 4 years ago
parent 46f2214c40
commit d67d0940ae

@ -70,6 +70,16 @@ public class FixedEditText extends AppCompatEditText {
}
}
@Override
public boolean onPreDraw() {
try {
return super.onPreDraw();
} catch (Throwable ex) {
Log.w(ex);
return true;
}
}
@Override
protected void onDraw(Canvas canvas) {
try {

Loading…
Cancel
Save