@@ -70,7 +70,7 @@ import java.util.Calendar
7070 */
7171@SuppressLint(" LogNotTimber" )
7272class KeyMapperApp : MultiDexApplication () {
73- private val TAG = KeyMapperApp ::class .simpleName
73+ private val tag = KeyMapperApp ::class .simpleName
7474
7575 val appCoroutineScope = MainScope ()
7676
@@ -182,7 +182,7 @@ class KeyMapperApp : MultiDexApplication() {
182182 override fun onCreate () {
183183 val priorExceptionHandler = Thread .getDefaultUncaughtExceptionHandler()
184184
185- Log .i(TAG , " KeyMapperApp: OnCreate" )
185+ Log .i(tag , " KeyMapperApp: OnCreate" )
186186
187187 Thread .setDefaultUncaughtExceptionHandler { thread, exception ->
188188 // log in a blocking manner and always log regardless of whether the setting is turned on
@@ -203,7 +203,7 @@ class KeyMapperApp : MultiDexApplication() {
203203 super .onCreate()
204204
205205 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .N && userManager?.isUserUnlocked == false ) {
206- Log .i(TAG , " KeyMapperApp: Delay init because locked." )
206+ Log .i(tag , " KeyMapperApp: Delay init because locked." )
207207 // If the device is still encrypted and locked do not initialize anything that
208208 // may potentially need the encrypted app storage like databases.
209209 return
@@ -225,7 +225,7 @@ class KeyMapperApp : MultiDexApplication() {
225225 }
226226
227227 private fun init () {
228- Log .i(TAG , " KeyMapperApp: Init" )
228+ Log .i(tag , " KeyMapperApp: Init" )
229229
230230 ServiceLocator .settingsRepository(this ).get(Keys .darkTheme)
231231 .map { it?.toIntOrNull() }
0 commit comments