fixed ktlint complaining and errors in italian translation file
This commit is contained in:
parent
97b4fd69b4
commit
c6b942cd31
@ -46,7 +46,8 @@ class GuardService : Service() {
|
|||||||
if (running) {
|
if (running) {
|
||||||
if (intent != null) {
|
if (intent != null) {
|
||||||
val lifeLine = intent.getBooleanExtra(EXTRA_LIFELINE, false)
|
val lifeLine = intent.getBooleanExtra(EXTRA_LIFELINE, false)
|
||||||
if (lifeLine) {//called from lifeLine?
|
if (lifeLine) {
|
||||||
|
// called from lifeLine?
|
||||||
scheduleLifeLine()
|
scheduleLifeLine()
|
||||||
return START_STICKY
|
return START_STICKY
|
||||||
}
|
}
|
||||||
@ -88,7 +89,7 @@ class GuardService : Service() {
|
|||||||
if (sessionId.isNullOrEmpty()) {
|
if (sessionId.isNullOrEmpty()) {
|
||||||
Timber.i("## Sync: timer still alive GuardService sessionId:nullOrEmpty")
|
Timber.i("## Sync: timer still alive GuardService sessionId:nullOrEmpty")
|
||||||
} else {
|
} else {
|
||||||
Timber.i("## Sync: timer still alive GuardService sessionId:${sessionId}")
|
Timber.i("## Sync: timer still alive GuardService sessionId:$sessionId")
|
||||||
try {
|
try {
|
||||||
val syncIntent = Intent(applicationContext, VectorSyncService::class.java)
|
val syncIntent = Intent(applicationContext, VectorSyncService::class.java)
|
||||||
syncIntent.putExtra(SyncService.EXTRA_SESSION_ID, sessionId)
|
syncIntent.putExtra(SyncService.EXTRA_SESSION_ID, sessionId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user