dicekeys / dicekeys-android

DiceKeys for Android
13 stars 1 forks source link

CRASH at org.dicekeys.app.repositories.DiceKeyRepository.updateAvailableDiceKeys (DiceKeyRepository.kt:42) #180

Closed UppaJung closed 2 years ago

UppaJung commented 2 years ago

Samsung Galaxy S10+brightness_1 Android 12 (SDK 31) 7.aab

java.lang.IllegalStateException: 
  at androidx.lifecycle.LiveData.assertMainThread (LiveData.java:487)
  at androidx.lifecycle.LiveData.setValue (LiveData.java:306)
  at androidx.lifecycle.MutableLiveData.setValue (MutableLiveData.java:50)
  at org.dicekeys.app.repositories.DiceKeyRepository.updateAvailableDiceKeys (DiceKeyRepository.kt:42)
  at org.dicekeys.app.repositories.DiceKeyRepository.clear (DiceKeyRepository.kt:74)
  at org.dicekeys.app.AppLifecycleObserver$onPause$$inlined$schedule$1.run (Timer.kt:149)
  at java.util.TimerThread.mainLoop (Timer.java:562)
  at java.util.TimerThread.run (Timer.java:512)