|
|
@ -205,6 +205,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
startForeground(NotificationHelper.NOTIFICATION_SYNCHRONIZE,
|
|
|
|
startForeground(NotificationHelper.NOTIFICATION_SYNCHRONIZE,
|
|
|
|
getNotificationService(null, null));
|
|
|
|
getNotificationService(null, null));
|
|
|
|
|
|
|
|
EntityLog.log(this, EntityLog.Type.Debug2,
|
|
|
|
|
|
|
|
"onCreate class=" + this.getClass().getName());
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
if (Helper.isPlayStoreInstall())
|
|
|
|
if (Helper.isPlayStoreInstall())
|
|
|
|
Log.i(ex);
|
|
|
|
Log.i(ex);
|
|
|
@ -1120,6 +1122,10 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
startForeground(NotificationHelper.NOTIFICATION_SYNCHRONIZE,
|
|
|
|
startForeground(NotificationHelper.NOTIFICATION_SYNCHRONIZE,
|
|
|
|
getNotificationService(null, null));
|
|
|
|
getNotificationService(null, null));
|
|
|
|
|
|
|
|
String msg = "onStartCommand" +
|
|
|
|
|
|
|
|
" class=" + this.getClass().getName() +
|
|
|
|
|
|
|
|
" action=" + action;
|
|
|
|
|
|
|
|
EntityLog.log(this, EntityLog.Type.Debug2, msg);
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
if (Helper.isPlayStoreInstall())
|
|
|
|
if (Helper.isPlayStoreInstall())
|
|
|
|
Log.i(ex);
|
|
|
|
Log.i(ex);
|
|
|
|