You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.
Should perhaps add some check for devices that don't have any location provider and remove the auto-sunrise/sunset option from the theme settings, maybe? Weird edge case.
java.lang.IllegalArgumentException: invalid provider: null
at android.location.LocationManager.checkProvider(LocationManager.java:2337)
at android.location.LocationManager.getLastKnownLocation(LocationManager.java:1427)
at me.jfenn.alarmio.Alarmio.getSunsetCalculator(Alarmio.java:375)
at me.jfenn.alarmio.Alarmio.getDayStart(Alarmio.java:331)
at me.jfenn.alarmio.data.preference.ThemePreferenceData.bindViewHolder(ThemePreferenceData.kt:116)
at me.jfenn.alarmio.data.preference.ThemePreferenceData.bindViewHolder(ThemePreferenceData.kt:34)
...
The text was updated successfully, but these errors were encountered:
fennifith
changed the title
IllegalArgumentException in Alarmio.getSunsetCalculator
IllegalArgumentException (invalid provider: null) in Alarmio.getSunsetCalculator
May 6, 2020
Should perhaps add some check for devices that don't have any location provider and remove the auto-sunrise/sunset option from the theme settings, maybe? Weird edge case.
The text was updated successfully, but these errors were encountered: