mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-01-22 09:07:32 +01:00
parent
93487b51ea
commit
b6506209a9
@ -158,7 +158,7 @@ public class McsService extends Service implements Handler.Callback {
|
|||||||
public int onStartCommand(Intent intent, int flags, int startId) {
|
public int onStartCommand(Intent intent, int flags, int startId) {
|
||||||
synchronized (McsService.class) {
|
synchronized (McsService.class) {
|
||||||
if (rootHandler != null) {
|
if (rootHandler != null) {
|
||||||
wakeLock.acquire();
|
wakeLock.acquire(5000);
|
||||||
Object reason = intent == null ? "I am so sticky!" :
|
Object reason = intent == null ? "I am so sticky!" :
|
||||||
intent.hasExtra(EXTRA_REASON) ? intent.getExtras().get(EXTRA_REASON) : intent;
|
intent.hasExtra(EXTRA_REASON) ? intent.getExtras().get(EXTRA_REASON) : intent;
|
||||||
if (ACTION_CONNECT.equals(intent.getAction())) {
|
if (ACTION_CONNECT.equals(intent.getAction())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user