Compare commits
10 Commits
powerbell-
...
powerbell
| Author | SHA1 | Date | |
|---|---|---|---|
| 7db4c90e11 | |||
| 8cc466dc3b | |||
| 29c024273d | |||
| e85fa2481a | |||
| 4e1d72a02b | |||
| a21a2ba4a5 | |||
| f4c16dd332 | |||
| feae9f4e14 | |||
| c4f5f18089 | |||
| c030de64b8 |
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sat Feb 28 21:19:52 HKT 2026
|
#Wed Mar 11 04:24:14 HKT 2026
|
||||||
stageCount=10
|
stageCount=17
|
||||||
libraryProject=
|
libraryProject=
|
||||||
baseVersion=15.15
|
baseVersion=15.15
|
||||||
publishVersion=15.15.9
|
publishVersion=15.15.16
|
||||||
buildCount=0
|
buildCount=0
|
||||||
baseBetaVersion=15.15.10
|
baseBetaVersion=15.15.17
|
||||||
|
|||||||
@@ -94,14 +94,14 @@ public class TTSRemindThread extends Thread {
|
|||||||
if (ttsBean.isEnableTtsWhenNotifyBattery()) {
|
if (ttsBean.isEnableTtsWhenNotifyBattery()) {
|
||||||
//ToastUtils.show("Test");
|
//ToastUtils.show("Test");
|
||||||
// 启动
|
// 启动
|
||||||
ToastUtils.show(String.format("mIsCharging %s, mBattery %d", mIsCharging, mBattery));
|
//ToastUtils.show(String.format("mIsCharging %s, mBattery %d", mIsCharging, mBattery));
|
||||||
String text = mIsCharging ?"充电": "用电";
|
String text = mIsCharging ?"充电": "用电";
|
||||||
text += String.format("已达预定值百分之%d", mBattery);
|
text += String.format("已达预定值,现在电量为百分之%d", mBattery);
|
||||||
TTSPlayService.startPlayTTS(mContext, text);
|
TTSPlayService.startPlayTTS(mContext, text);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 防止死循环疯狂跑,加一点休眠
|
// 防止死循环疯狂跑,加一点休眠
|
||||||
sleep(5000);
|
sleep(6000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
LogUtils.e(TAG, "TTS 线程被中断", e);
|
LogUtils.e(TAG, "TTS 线程被中断", e);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user