update:接口优化,耗电优化
This commit is contained in:
2023-04-10 15:20:46 +08:00
parent e5cdbc2ecc
commit c7046475da
13 changed files with 165 additions and 176 deletions

View File

@@ -415,7 +415,7 @@ public class GuardService extends Service {
* @param time 和锁屏状态无关,记录设备使用时长的
*/
private void getLockState(String status, String time) {
if (JGYUtils.isOfficialVersion()) {
if (JGYUtils.isOfficialVersion() || JGYUtils.getInstance().tagEmpty()) {
return;
}
NetInterfaceManager.getInstance()