mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Debug: added logging
This commit is contained in:
@@ -108,6 +108,8 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
super.onCreate();
|
||||
try {
|
||||
startForeground(NotificationHelper.NOTIFICATION_SEND, getNotificationService(false));
|
||||
EntityLog.log(this, EntityLog.Type.Debug2,
|
||||
"onCreate class=" + this.getClass().getName());
|
||||
} catch (Throwable ex) {
|
||||
if (Helper.isPlayStoreInstall())
|
||||
Log.i(ex);
|
||||
@@ -255,6 +257,8 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
super.onStartCommand(intent, flags, startId);
|
||||
try {
|
||||
startForeground(NotificationHelper.NOTIFICATION_SEND, getNotificationService(false));
|
||||
EntityLog.log(this, EntityLog.Type.Debug2,
|
||||
"onStartCommand class=" + this.getClass().getName());
|
||||
} catch (Throwable ex) {
|
||||
if (Helper.isPlayStoreInstall())
|
||||
Log.i(ex);
|
||||
|
||||
Reference in New Issue
Block a user