mirror of
https://github.com/wesaphzt/privatelock.git
synced 2025-04-18 13:42:02 +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;
|
||||
}
|
||||
} else {
|
||||
Toast.makeText(context, "Something went wrong...", Toast.LENGTH_LONG).show();
|
||||
return LockService.START_REDELIVER_INTENT;
|
||||
}
|
||||
|
||||
|
||||
return LockService.START_STICKY;
|
||||
return LockService.START_REDELIVER_INTENT;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue