version: cude 5.9 mtk 3.4
fix:优化百度地图位置乱码 update:增加手动爱华解锁判断
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user