diff --git a/powerbell/build.properties b/powerbell/build.properties index 5eef4cb..83fd2e3 100644 --- a/powerbell/build.properties +++ b/powerbell/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Fri Jul 17 17:35:09 CST 2026 +#Fri Jul 17 18:35:29 CST 2026 stageCount=19 libraryProject= baseVersion=15.15 publishVersion=15.15.18 -buildCount=13 +buildCount=16 baseBetaVersion=15.15.19 diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/APPMSGMailRemindThread.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/APPMSGMailRemindThread.java index d5849a0..a18c684 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/APPMSGMailRemindThread.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/APPMSGMailRemindThread.java @@ -17,7 +17,7 @@ public class APPMSGMailRemindThread extends Thread { public static final String TAG = "APPMSGMailRemindThread"; // 邮件发送间隔(毫秒) - private static final long MAIL_SEND_INTERVAL = 30000; + private static final long MAIL_SEND_INTERVAL = 10000; // 单例实例 private static APPMSGMailRemindThread sInstance; diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/RemindThread.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/RemindThread.java index 07a448a..3dcc615 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/RemindThread.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/threads/RemindThread.java @@ -191,6 +191,8 @@ public class RemindThread extends Thread { // 启动电量通知 TTS 语音提醒线程 TTSRemindThread.start(this.mContext, App.sQuantityOfElectricity, isCharging); + // 启动电量通知邮件提醒线程 + APPMSGMailRemindThread.start(this.mContext, App.sQuantityOfElectricity, isCharging); // 安全休眠,保留中断标记 safeSleepInternal(sleepTime); @@ -283,7 +285,8 @@ public class RemindThread extends Thread { */ private void cleanThreadStateInternal() { LogUtils.d(TAG, String.format("cleanThreadStateInternal() 调用 | threadId=%d", getId())); - TTSRemindThread.stopTTS(); + TTSRemindThread.stopTTS(); + APPMSGMailRemindThread.stopMail(); isReminding = false; isExist = true; // 中断当前线程(如果存活)