Restart on process

This commit is contained in:
M66B
2019-11-13 09:39:41 +01:00
parent 4429cd870c
commit 3babf3f9ba

View File

@@ -476,6 +476,9 @@ public class ServiceSynchronize extends ServiceBase {
am.set(AlarmManager.RTC_WAKEUP, at, piOneshot);
else
am.setAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, at, piOneshot);
if (!started)
onReload(true, "oneshot start");
} else
onReload(true, "oneshot end");
}