fixbug of ADAS send sn problem and note the foreCast latlon of adasRecognize data
This commit is contained in:
@@ -8,6 +8,7 @@ import android.telephony.TelephonyManager;
|
||||
import android.telephony.cdma.CdmaCellLocation;
|
||||
import android.telephony.gsm.GsmCellLocation;
|
||||
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
|
||||
import com.mogo.commons.AbsMogoApplication;
|
||||
import com.mogo.commons.debug.DebugConfig;
|
||||
import com.mogo.utils.DeviceIdUtils;
|
||||
@@ -64,10 +65,14 @@ public class Utils {
|
||||
public static final String PROPERTIES = "android.os.SystemProperties";
|
||||
|
||||
public static String getSn() {
|
||||
if ( DebugConfig.getCarMachineType() != DebugConfig.CAR_MACHINE_TYPE_SELF_INNOVATE ) {
|
||||
return DeviceIdUtils.getDeviceId(AbsMogoApplication.getApp());
|
||||
}
|
||||
return getSystemProperties( GSM_SERIAL );
|
||||
return "X2020210526D3DC7BA891CE2D76";
|
||||
// if ( DebugConfig.getCarMachineType() != DebugConfig.CAR_MACHINE_TYPE_SELF_INNOVATE ) {
|
||||
// return DeviceIdUtils.getDeviceId(AbsMogoApplication.getApp());
|
||||
// }
|
||||
// if(DebugConfig.getCarMachineType() == DebugConfig.CAR_MACHINE_TYPE_LENOVO){
|
||||
// return MoGoAiCloudClientConfig.getInstance().getSn();
|
||||
// }
|
||||
// return getSystemProperties( GSM_SERIAL );
|
||||
}
|
||||
|
||||
public static String getFotaVersion() {
|
||||
|
||||
Reference in New Issue
Block a user