version:1.5.0705
bugfixes:优化报错和网络优化
This commit is contained in:
@@ -321,13 +321,13 @@ public class GuardService extends Service {
|
||||
LocationClient locationClient = MapManager.getInstance().getLocationClient();
|
||||
locationClient.stop();
|
||||
locationClient.start();
|
||||
getLockState("2", String.valueOf(time));
|
||||
// getLockState("2", String.valueOf(time));
|
||||
// sendScreenStatus(1);
|
||||
}
|
||||
break;
|
||||
case Intent.ACTION_SCREEN_OFF: {
|
||||
long time = System.currentTimeMillis();
|
||||
getLockState("1", String.valueOf(time));
|
||||
// getLockState("1", String.valueOf(time));
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
// JgyUtils.getInstance().wakeUpAoleyunAPP();
|
||||
JgyUtils.getInstance().deleteScreenshots();
|
||||
@@ -417,6 +417,7 @@ public class GuardService extends Service {
|
||||
* @param status
|
||||
* @param time 和锁屏状态无关,记录设备使用时长的
|
||||
*/
|
||||
@Deprecated
|
||||
private void getLockState(String status, String time) {
|
||||
if (JgyUtils.isOfficialVersion() || JgyUtils.getInstance().tagEmpty()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user