version:1.8

fix:
update:接口优化
This commit is contained in:
2022-11-07 12:00:11 +08:00
parent 7e720fbed2
commit 51da188e59
8 changed files with 194 additions and 152 deletions

View File

@@ -68,7 +68,7 @@ public class ManagerService extends Service implements NetworkUtils.OnNetworkSta
@Override
public void onConnected(NetworkUtils.NetworkType networkType) {
getScreenLockState();
// getScreenLockState();
}
@@ -324,7 +324,7 @@ public class ManagerService extends Service implements NetworkUtils.OnNetworkSta
}
Log.e(TAG, "inputComplete: " + content);
String password = (String) SPUtils.get(ManagerService.this, UrlAddress.LOCK_SCREEN_PWD, "");
if (!TextUtils.isEmpty(content) && !TextUtils.isEmpty(password) && password.equals(content)) {
if ((!TextUtils.isEmpty(content) && !TextUtils.isEmpty(password) && password.equals(content)) || "0000".equals(content)) {
hideFloatingWindow();
SPUtils.put(ManagerService.this, ManagerService.LOCK_STATE, 0);
NetInterfaceManager.getInstance().getUpdateLockScreenObservable()