renote the getSn func
This commit is contained in:
@@ -65,14 +65,14 @@ public class Utils {
|
||||
public static final String PROPERTIES = "android.os.SystemProperties";
|
||||
|
||||
public static String getSn() {
|
||||
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 );
|
||||
// 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