Update DeviceInfoUtils.java

dev
wangsiyuan 2024-04-22 14:53:20 +08:00
parent b4b02d0b1c
commit 21dc14ba5f
1 changed files with 3 additions and 18 deletions

View File

@ -2,6 +2,7 @@ package com.nbee.echolink.utils;
import java.util.Locale; import java.util.Locale;
import android.content.Context; import android.content.Context;
import android.os.Build;
import android.telephony.TelephonyManager; import android.telephony.TelephonyManager;
import android.util.Log; import android.util.Log;
@ -115,9 +116,10 @@ public class DeviceInfoUtils {
* *
**/ **/
public static String getDeviceSerial() { public static String getDeviceSerial() {
return android.os.Build.SERIAL; return "89KX0ARVK";
} }
/** /**
* Android SDK * Android SDK
* *
@ -143,21 +145,4 @@ public class DeviceInfoUtils {
return Locale.getDefault().getLanguage(); return Locale.getDefault().getLanguage();
} }
/**
* (Locale)
*/
public static String getDeviceSupportLanguage() {
Log.e("wangjie", "Local:" + Locale.GERMAN);
Log.e("wangjie", "Local:" + Locale.ENGLISH);
Log.e("wangjie", "Local:" + Locale.US);
Log.e("wangjie", "Local:" + Locale.CHINESE);
Log.e("wangjie", "Local:" + Locale.TAIWAN);
Log.e("wangjie", "Local:" + Locale.FRANCE);
Log.e("wangjie", "Local:" + Locale.FRENCH);
Log.e("wangjie", "Local:" + Locale.GERMANY);
Log.e("wangjie", "Local:" + Locale.ITALIAN);
Log.e("wangjie", "Local:" + Locale.JAPAN);
Log.e("wangjie", "Local:" + Locale.JAPANESE);
return Locale.getAvailableLocales().toString();
}
} }