From: snickersun Date: Fri, 6 Nov 2020 07:49:42 +0000 (+0800) Subject: release V175 X-Git-Url: http://git.snicker.com.cn/Users/apple/Desktop/static/gitweb.css?a=commitdiff_plain;h=11233cd4fe5a016374e27d59ea8d1a7080536689;p=launcher4.git release V175 低电提示和关机电压 改为可以配置。 persist.sys.icLowpowerLevel默认15 persist.sys.icShutdownLevel默认5 修改默认语言英文,修改泰文翻译,优化桌面布局。 --- diff --git a/app/release/ICL02Launcher_V173_202011060935_release.apk b/app/release/ICL02Launcher_V175_202011061547_release.apk similarity index 54% rename from app/release/ICL02Launcher_V173_202011060935_release.apk rename to app/release/ICL02Launcher_V175_202011061547_release.apk index fe87496..509c131 100644 Binary files a/app/release/ICL02Launcher_V173_202011060935_release.apk and b/app/release/ICL02Launcher_V175_202011061547_release.apk differ diff --git a/app/release/output.json b/app/release/output.json index 44ca8bc..4160e9a 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":173,"versionName":"202011060935","enabled":true,"outputFile":"ICL02Launcher_V173_202011060935_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Launcher_V173_202011060935_release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":175,"versionName":"202011061547","enabled":true,"outputFile":"ICL02Launcher_V175_202011061547_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Launcher_V175_202011061547_release.apk","properties":{}}] \ No newline at end of file diff --git a/app/src/main/java/com/ic/launcher/presenter/BatteryPresenter.java b/app/src/main/java/com/ic/launcher/presenter/BatteryPresenter.java index 086e976..4c6b3e4 100644 --- a/app/src/main/java/com/ic/launcher/presenter/BatteryPresenter.java +++ b/app/src/main/java/com/ic/launcher/presenter/BatteryPresenter.java @@ -16,6 +16,7 @@ import androidx.lifecycle.MediatorLiveData; import com.ic.launcher.configure.l02.L02Icon; import com.ic.launcher.util.IcLog; import com.ic.launcher.util.SoundPlayUtils; +import com.ic.launcher.util.SystemUtils; import com.ic.launcher.util.VibrateUtil; import java.util.ArrayList; @@ -24,9 +25,19 @@ import java.util.ArrayList; public class BatteryPresenter extends PresenterCycle { private static final String TAG = "BatteryPresenter"; - private static final int LOW_LEVEL = 15; - private static final int SHUT_DOWN_LEVEL = 5; - + private static int LOW_LEVEL = 15; + private static int SHUT_DOWN_LEVEL = 5; + + static { + String lowlevel=SystemUtils.getSystemPropertiesString("persist.sys.icLowpowerLevel","15"); + try{ + LOW_LEVEL=Integer.parseInt(lowlevel); + }catch (Exception e){} + String shutlevel=SystemUtils.getSystemPropertiesString("persist.sys.icShutdownLevel","5"); + try{ + SHUT_DOWN_LEVEL=Integer.parseInt(shutlevel); + }catch (Exception e){} + } private Context mContext; private SoundPlayUtils playUtils; diff --git a/app/src/main/res/layout/fragment_l02_main.xml b/app/src/main/res/layout/fragment_l02_main.xml index 49c011d..cf5bb0b 100644 --- a/app/src/main/res/layout/fragment_l02_main.xml +++ b/app/src/main/res/layout/fragment_l02_main.xml @@ -72,15 +72,15 @@ name="gpsStatus" type="boolean" /> - + + android:layout_marginTop="20dp"> + app:wifienabled="@{wifiStatus}" /> - + android:layout_marginLeft="20dp" + android:layout_marginRight="20dp" + android:gravity="center" + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + \ No newline at end of file diff --git a/app/src/main/res/values-en/strings.xml b/app/src/main/res/values-en/strings.xml index 4d8199a..f9f53aa 100644 --- a/app/src/main/res/values-en/strings.xml +++ b/app/src/main/res/values-en/strings.xml @@ -1,14 +1,14 @@ - Watch + + Health HeartRateMonitor failed to run Application ! - QR Code - TEMP - Language + Watch + Settings My Family @@ -58,6 +58,9 @@ --> Dial Background + QR Code + TEMP + Language Dialer Contacts Call @@ -139,6 +142,7 @@ BODY WRIST + ℃ MEASURING COMPLETE TEMPOut diff --git a/app/src/main/res/values-th/strings.xml b/app/src/main/res/values-th/strings.xml index 59343d9..7c6b8e0 100644 --- a/app/src/main/res/values-th/strings.xml +++ b/app/src/main/res/values-th/strings.xml @@ -18,7 +18,7 @@ ไม่มี QR Code โหมดพลังงานต่ำ กรุณาใส่ซิมการ์ด - + ขีดกากบาท Step Step cal @@ -124,13 +124,13 @@ Single icon Sorry, the program is abnormal and will quit! Please wait... - จันทร์ - อังคาร - พุธ - วันพฤหัสบดี - ศุกร์ - วันเสาร์ - อาทิตย์ + Mon + Tue + Wed + Thu + Fri + Sat + Sun คน ข้อมือ diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index e4bab21..1aa411f 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -140,6 +140,7 @@ 体温 腕温 + ℃ 正在测量 测量完成 环境温度 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9fc79e9..678a27d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,147 +1,144 @@ - 爱健康 - 心率监控 - 应用程序启动失败 + + Health + HeartRateMonitor + failed to run Application ! - 手表 + Watch - 设置 - 我的家人 - 我的朋友 - - 当前无可用网络 - 无法获取数据,请稍候 - 天气 - 今天 - 明天 - 昨天 - - 没有二维码 - 低电量模式 - 当前无 SIM 卡 - - æ­¥ - æ­¥ - 卡 - 公里 - 最近记录 - 今日 - 目标 - 请输入目标步数 - 输入值无效 - 身高 - 体重 - 厘米 - 千克 - 个人设置 - 0 - 平均步数 - 总步数 - 磅 - 英里 - 英寸 - 英尺 - 已达到目标步数 - - 时钟主题 - 菜单背景 - - 二维码 - 体温 - 语言 - - 拨号 - 联系人 - 电话 - 高清通话 - 通话记录 - 短信 - 视频通话 - 久坐提醒 - 睡眠监测 - 微信 - 微聊 - 照相 - 核验 - 相册 - 指路 - 交友 - 磨耳朵 - 有问必答 - 爱知识 - 百科知识 - 魔法百科 - 天气 - 语音助手 - 工具 - 设置 - 听英语 - 故事 - 录音机 - 音乐 - 秒表 - 计算器 - 日历 - 清理内存 - 运动 - 自由锻炼 - 自由锻炼中 - 锻炼已停止 - 许愿星 - CID - 心率 - 聊天 - 支付宝 - 血压 - 戏曲 - APP下载 - 下载手机应用 APP + Settings + My Family + My Friends + Network is not available + Get data failed, please wait + Weather forecast + Today + Tomorrow + Yesterday + + No qr code + Low Power Mode + Please insert the SIM card + + Steps + Steps + Cal + km + History + Today + Goal + Please enter the goal number of steps + Invalid input value + Height + Weight + cm + kg + Pedometer settings + 0 + Average step + Sum step + lb + mile + inch + foot + Have Reached Target Steps + + Dial + Background + + QR Code + TEMP + Language + + Dialer + Contacts + Call + VoLTE Call + CallLog + Sedentary + Sleep + Message + VideoCall + We chat + Chat + Camera + Check + Photos + map + Buddy + GrindingEars + AnsweredQuestions + AiKnowledge + EncyclopediaKnowledge + MagicEncyclopedia + Weather + VoiceAssistant + Tool + Settings + English + Story + Recorder + Music + Timer + Calculator + Calendar + Clear + Fitness + Practice + Practising + PracticeStoped + Wishing Star + QR Code + Heart Rate + Chat + AliPay + Blood Pressure + Drama + remote app + Download Remote App - 无联系人,请检测网络 - 联系人 + No contact, please check the network + Contacts - 更改亮度 - 更改音量 - 课堂模式 + Change brightness + Change volume + Classroom mode - 系统升级 - 发现新版本,是否升级到 - 发现新版本,是否升级? - 确定 - 取消 - ? - - - æ­¤ SIM 卡不支持 - 主菜单风格 - 多图标 - 单图标 - 很抱歉,程序出现异常,即将退出 - 请稍候… - 星期一 - 星期二 - 星期三 - 星期四 - 星期五 - 星期六 - 星期日 - - - 所有人 + System upgrade + Find the new version, whether to upgrade to + Find the new version, whether to upgrade? + YES + NO + "?" + + SIM blocked + Select main menu style + Multi icon + Single icon + Sorry, the program is abnormal and will quit! + Please wait... + Mon + Tue + Wed + Thu + Fri + Sat + Sun + All - 高压 - 低压 + HP + LP - 体温 - 腕温 + BODY + WRIST ℃ - 正在测量 - 测量完成 - 环境温度 + MEASURING + COMPLETE + TEMPOut \ No newline at end of file diff --git a/app/version_code.properties b/app/version_code.properties index 2384b78..7309d1f 100644 --- a/app/version_code.properties +++ b/app/version_code.properties @@ -1,2 +1,2 @@ -#Fri Nov 06 09:35:38 CST 2020 -VERSION_CODE=173 +#Fri Nov 06 15:47:04 CST 2020 +VERSION_CODE=175