0.1.4 catch and report a rare? Compose exception

kotlin.NullPointerException
androidx.ui.core.selection.SelectionManager$handleDragObserver$1.onStart (SelectionManager.kt:184)
1.2-legacy
geeksville 2020-03-09 18:54:33 -07:00
rodzic 309cc464e9
commit 389dbf4476
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -16,8 +16,8 @@ android {
applicationId "com.geeksville.mesh"
minSdkVersion 22 // The oldest emulator image I have tried is 22 (though 21 probably works)
targetSdkVersion 29
versionCode 103
versionName "0.1.3"
versionCode 104
versionName "0.1.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {

Wyświetl plik

@ -335,7 +335,7 @@ class MainActivity : AppCompatActivity(), Logging,
override fun dispatchTouchEvent(ev: MotionEvent?): Boolean {
return try {
super.dispatchTouchEvent(ev)
} catch (ex: IllegalStateException) {
} catch (ex: Throwable) {
Exceptions.report(
ex,
"dispatchTouchEvent"