Add weather icon pack, updates frequency and fix google fit
This commit is contained in:
@ -4,6 +4,7 @@ import android.content.BroadcastReceiver
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.os.BatteryManager
|
||||
import android.util.Log
|
||||
import com.tommasoberlose.anotherwidget.global.Preferences
|
||||
import com.tommasoberlose.anotherwidget.ui.widgets.MainWidget
|
||||
|
||||
@ -14,6 +15,8 @@ class BatteryLevelReceiver : BroadcastReceiver() {
|
||||
Intent.ACTION_BATTERY_OKAY -> Preferences.isBatteryLevelLow = false
|
||||
}
|
||||
MainWidget.updateWidget(context)
|
||||
|
||||
Log.d("ciao", "intent: ${intent}")
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user