Skip to content

Commit

Permalink
changed init method
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatkumardhamija committed Oct 31, 2020
1 parent 5def0fa commit e59e1ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import me.rajatdhamija.rsod.RedScreenOfDeath
class MyApp : Application() {
override fun onCreate() {
super.onCreate()
RedScreenOfDeath.init(this)
RedScreenOfDeath.initRSOD(this)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import android.content.Context

object RedScreenOfDeath {
@JvmStatic
fun init(application: Application) {
fun initRSOD(application: Application) {
if (BuildConfig.DEBUG) {
val crashListener =
UncaughtExceptionListener { t, e -> handleUncaughtException(application, t, e) }
Expand Down

0 comments on commit e59e1ae

Please sign in to comment.