增加远程获取sn,台电设备适配

This commit is contained in:
2022-06-13 21:42:42 +08:00
parent 0d324c17a4
commit 7e95fd1181
14 changed files with 256 additions and 197 deletions

View File

@@ -46,6 +46,11 @@ public class RemoteService extends Service {
}
@Override
public String getSerial() throws RemoteException {
return Utils.getSerial();
}
@Override
public String getUserInfo() throws RemoteException {
if (MainService.getPresenter() != null) {

View File

@@ -189,8 +189,8 @@ public class MainSPresenter implements MainSContact.Presenter {
JGYUtils.getInstance().writeDeselectIDtoSystem(ids, packages);
} else {
Log.e("getAppInside", "onNext: " + baseResponse.msg);
JGYUtils.putString(mContext.getContentResolver(), "qch_app_forbid_id", " ");
JGYUtils.putString(mContext.getContentResolver(), "DeselectViewArray", " ");
JGYUtils.putString(mContext.getContentResolver(), CommonConfig.AOLE_ACTION_APP_FORBID_ID, " ");
JGYUtils.putString(mContext.getContentResolver(), CommonConfig.AOLE_ACTION_APP_FORBID_ARRAY, " ");
}
}
@@ -229,8 +229,8 @@ public class MainSPresenter implements MainSContact.Presenter {
NetInterfaceManager.getInstance().getForceInstallState(appInfos);
}
} else {
boolean qch_force_app = JGYUtils.putString(mContext.getContentResolver(), "qch_force_app", "invalid");
Log.e("getForceInstall", "qch_force_app: invalid: " + qch_force_app);
boolean aole_force_app = JGYUtils.putString(mContext.getContentResolver(), CommonConfig.AOLE_ACTION_FORCE_APP, "invalid");
Log.e("getForceInstall", "aole_force_app: invalid: " + aole_force_app);
}
}