mirror of
https://github.com/wesaphzt/privatelock.git
synced 2025-04-19 14:09:09 +00:00
fix background service for < 8.0
This commit is contained in:
parent
248a8eeb0b
commit
6b560beac8
1 changed files with 2 additions and 3 deletions
|
@ -178,11 +178,10 @@ public class LockService extends JobIntentService {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Toast.makeText(context, "Something went wrong...", Toast.LENGTH_LONG).show();
|
return LockService.START_REDELIVER_INTENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return LockService.START_REDELIVER_INTENT;
|
||||||
return LockService.START_STICKY;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue