Convert ICrashHandler to kotlin

This commit is contained in:
Ammar Githam 2021-07-11 21:39:18 +09:00
parent 99af3dffaa
commit 90df6e33b0
1 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,9 @@
package awaisomereport;
package awaisomereport
public interface ICrashHandler {
void uncaughtException(Thread t,
Throwable exception,
Thread.UncaughtExceptionHandler defaultEH);
}
interface ICrashHandler {
fun uncaughtException(
t: Thread,
exception: Throwable,
defaultExceptionHandler: Thread.UncaughtExceptionHandler
)
}