mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Debug: added logging
This commit is contained in:
@@ -71,6 +71,8 @@ public class ServiceExternal extends ServiceBase {
|
||||
super.onCreate();
|
||||
try {
|
||||
startForeground(NotificationHelper.NOTIFICATION_EXTERNAL, getNotification());
|
||||
EntityLog.log(this, EntityLog.Type.Debug2,
|
||||
"onCreate class=" + this.getClass().getName());
|
||||
} catch (Throwable ex) {
|
||||
if (Helper.isPlayStoreInstall())
|
||||
Log.i(ex);
|
||||
@@ -106,6 +108,8 @@ public class ServiceExternal extends ServiceBase {
|
||||
super.onStartCommand(intent, flags, startId);
|
||||
try {
|
||||
startForeground(NotificationHelper.NOTIFICATION_EXTERNAL, getNotification());
|
||||
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