From c7351b80005e741c0389fe7dde0ed94c5a0a0317 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 18 May 2025 22:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=BA2=E5=88=86=E9=92=9F=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E5=86=8D=E5=8F=91=E9=80=81=E5=B9=BF=E6=92=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/xypower/mpmaster/MpMasterService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpmaster/src/main/java/com/xypower/mpmaster/MpMasterService.java b/mpmaster/src/main/java/com/xypower/mpmaster/MpMasterService.java index 34966734..1b39ad49 100644 --- a/mpmaster/src/main/java/com/xypower/mpmaster/MpMasterService.java +++ b/mpmaster/src/main/java/com/xypower/mpmaster/MpMasterService.java @@ -883,7 +883,7 @@ public class MpMasterService extends Service { relaunchIntent.setPackage("com.android.systemui"); // getApplicationContext().sendBroadcast(restartIntent); - long launchTs = System.currentTimeMillis() + (mHeartbeatDuration + 2) * 1000; + long launchTs = System.currentTimeMillis() + (mHeartbeatDuration + 120) * 1000; PendingIntent sysKAPendingIntent = PendingIntent.getBroadcast(this, BROADCAST_REQUEST_CODE_SYS_KEEPALIVE, relaunchIntent, PendingIntent.FLAG_UPDATE_CURRENT); alarmManager.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, launchTs, sysKAPendingIntent);