修正TTS电量通知语音描述。
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sun Mar 01 00:24:19 HKT 2026
|
||||
#Mon Mar 02 15:39:16 GMT 2026
|
||||
stageCount=11
|
||||
libraryProject=
|
||||
baseVersion=15.15
|
||||
publishVersion=15.15.10
|
||||
buildCount=0
|
||||
buildCount=4
|
||||
baseBetaVersion=15.15.11
|
||||
|
||||
@@ -96,12 +96,12 @@ public class TTSRemindThread extends Thread {
|
||||
// 启动
|
||||
//ToastUtils.show(String.format("mIsCharging %s, mBattery %d", mIsCharging, mBattery));
|
||||
String text = mIsCharging ?"充电": "用电";
|
||||
text += String.format("已达预定值百分之%d", mBattery);
|
||||
text += String.format("已达预定值,现在电量为百分之%d", mBattery);
|
||||
TTSPlayService.startPlayTTS(mContext, text);
|
||||
}
|
||||
|
||||
// 防止死循环疯狂跑,加一点休眠
|
||||
sleep(5000);
|
||||
sleep(6000);
|
||||
} catch (InterruptedException e) {
|
||||
LogUtils.e(TAG, "TTS 线程被中断", e);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user