Added Bug Tracking System
This commit is contained in:
22
app/src/main/java/xyz/quaver/pupil/Pupil.kt
Normal file
22
app/src/main/java/xyz/quaver/pupil/Pupil.kt
Normal file
@@ -0,0 +1,22 @@
|
||||
package xyz.quaver.pupil
|
||||
|
||||
import android.content.Intent
|
||||
import android.os.Process
|
||||
import com.finotes.android.finotescore.Fn
|
||||
import com.finotes.android.finotescore.ObservableApplication
|
||||
import com.finotes.android.finotescore.Severity
|
||||
|
||||
class Pupil : ObservableApplication() {
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
Fn.init(this)
|
||||
|
||||
Fn.enableFrameDetection()
|
||||
|
||||
Thread.setDefaultUncaughtExceptionHandler { t, e ->
|
||||
Fn.reportException(t, Exception(e), Severity.FATAL)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,6 +14,7 @@ import kotlinx.android.synthetic.main.activity_reader.*
|
||||
import kotlinx.android.synthetic.main.activity_reader.view.*
|
||||
import kotlinx.android.synthetic.main.dialog_numberpicker.view.*
|
||||
import kotlinx.coroutines.*
|
||||
import kotlinx.io.IOException
|
||||
import kotlinx.serialization.json.Json
|
||||
import kotlinx.serialization.json.JsonConfiguration
|
||||
import kotlinx.serialization.list
|
||||
@@ -148,7 +149,6 @@ class ReaderActivity : AppCompatActivity() {
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
loadJob?.cancel()
|
||||
}
|
||||
|
||||
override fun onBackPressed() {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package xyz.quaver.pupil.util
|
||||
|
||||
import kotlinx.io.IOException
|
||||
import kotlinx.serialization.ImplicitReflectionSerializer
|
||||
import kotlinx.serialization.json.Json
|
||||
import kotlinx.serialization.json.JsonConfiguration
|
||||
|
||||
2
app/src/main/java/xyz/quaver/pupil/util/progress.kt
Normal file
2
app/src/main/java/xyz/quaver/pupil/util/progress.kt
Normal file
@@ -0,0 +1,2 @@
|
||||
package xyz.quaver.pupil.util
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package xyz.quaver.pupil.util
|
||||
|
||||
import kotlinx.io.IOException
|
||||
import kotlinx.serialization.json.*
|
||||
import java.net.URL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user