运维如果没有获取到cmdid,则使用SN

ndkvideo
Matthew 4 months ago
parent e762e2b53c
commit b5684256fe

@ -610,8 +610,11 @@ public class MpMasterService extends Service {
logger.warning("Start Mntn report: " + masterUrl + " MntnMode=" + (mMntnMode ? "1" : "0") + " QuickHB=" + (mQuickHbMode ? "1" : "0"));
AppMaster appMaster = new AppMaster(this, masterUrl, appConfig.cmdid, bundleWithMpApp);
String cmdid = appConfig.cmdid;
if (TextUtils.isEmpty(cmdid)) {
cmdid = getSerialNo();
}
AppMaster appMaster = new AppMaster(this, masterUrl, cmdid, bundleWithMpApp);
appMaster.start(isCriticalTime());
mMasterTimers++;
}

Loading…
Cancel
Save