Debug: added logging

This commit is contained in:
M66B
2024-05-16 07:28:30 +02:00
parent 5a65365f2c
commit 00ab42f973
3 changed files with 14 additions and 0 deletions

View File

@@ -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);