mirror of https://github.com/M66B/FairEmail.git
Added logging
This commit is contained in:
parent
c040b8206c
commit
717c9ac3a3
|
@ -169,6 +169,8 @@ public class Widget extends AppWidgetProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update(Context context) {
|
static void update(Context context) {
|
||||||
|
EntityLog.log(context, "Widget update");
|
||||||
|
|
||||||
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
|
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
|
||||||
if (appWidgetManager == null) {
|
if (appWidgetManager == null) {
|
||||||
Log.w("No app widget manager"); // Fairphone FP2
|
Log.w("No app widget manager"); // Fairphone FP2
|
||||||
|
|
|
@ -169,7 +169,8 @@ public class WidgetUnified extends AppWidgetProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void updateData(Context context) {
|
static void updateData(Context context) {
|
||||||
Log.i("Widget unified update");
|
EntityLog.log(context, "Widget unified update");
|
||||||
|
|
||||||
if (ActivityBilling.isPro(context)) {
|
if (ActivityBilling.isPro(context)) {
|
||||||
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
|
AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context);
|
||||||
if (appWidgetManager == null) {
|
if (appWidgetManager == null) {
|
||||||
|
|
Loading…
Reference in New Issue