Log the null AppWidgetManager
This commit is contained in:
parent
f647e50a2e
commit
1f45c2c391
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,9 @@ class MessageListWidgetManager(
|
|||
|
||||
fun init() {
|
||||
appWidgetManager = AppWidgetManager.getInstance(context)
|
||||
if (appWidgetManager == null) {
|
||||
Timber.v("Message list widget is not supported on this device.")
|
||||
}
|
||||
|
||||
if (isAtLeastOneMessageListWidgetAdded()) {
|
||||
resetMessageListWidget()
|
||||
|
|
Loading…
Reference in a new issue