增加远程获取sn,台电设备适配
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user