finalize all except gps
This commit is contained in:
1 parent
00c40994b2
commit
a26174c960
1 file changed
+3
-1
+3
-1
@@ -228,7 +228,9 @@ void onStart(ServiceInstance service) async {
|
|||||||
if (seconds >= secondsJamMasuk && seconds <= secondsJamPulang) {
|
if (seconds >= secondsJamMasuk && seconds <= secondsJamPulang) {
|
||||||
dev.i("jalankan");
|
dev.i("jalankan");
|
||||||
} else {
|
} else {
|
||||||
dev.i("tidak jalankan");
|
// dev.i("tidak jalankan");
|
||||||
|
// stop service
|
||||||
|
service.stopSelf();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user