version: cude 5.9 mtk 3.4

fix:优化百度地图位置乱码
update:增加手动爱华解锁判断
This commit is contained in:
2022-07-05 20:24:57 +08:00
parent 6ab5e00948
commit 5b49f1370f
8 changed files with 57 additions and 20 deletions

View File

@@ -61,7 +61,14 @@ public class RemoteService extends Service {
return pkg;
}
@Override
public boolean SystemPutInt(String name, int value) throws RemoteException {
return Settings.System.putInt(getContentResolver(), name, value);
}
@Override
public void setDefaultDesktop(String pkg) throws RemoteException {
JGYUtils.getInstance().setDefaultDesktop(pkg);
}
};
}

View File

@@ -81,6 +81,12 @@ public class MainSPresenter implements MainSContact.Presenter {
@Override
public void getLockedState(String key) {
Log.e(TAG, "getLockedState: " + key);
if (JGYUtils.getInstance().isAihuaFramwwork()) {
int aihuaUnlock = Settings.System.getInt(mContext.getContentResolver(), CommonConfig.AIHUA_UNLOCK, 0);
if (aihuaUnlock == 1) {
return;
}
}
requesting = true;
responseTime = System.currentTimeMillis();
NetInterfaceManager.getInstance()
@@ -95,6 +101,7 @@ public class MainSPresenter implements MainSContact.Presenter {
});
}
@Override
public void setPushTags() {
NetInterfaceManager.getInstance().setPushTags(true, getLifecycle(), new NetInterfaceManager.onCompleteCallback() {