version:4.4
fix: update:优化闹钟页面,优化日常应用
This commit is contained in:
@@ -14,6 +14,7 @@ import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.tencent.bugly.crashreport.CrashReport;
|
||||
import com.tencent.mmkv.MMKV;
|
||||
import com.uiuios.aios.BuildConfig;
|
||||
import com.uiuios.aios.bean.MapBean;
|
||||
import com.uiuios.aios.config.CommonConfig;
|
||||
import com.uiuios.aios.disklrucache.CacheHelper;
|
||||
@@ -118,6 +119,7 @@ public class RemoteManager {
|
||||
* @return 获取sn
|
||||
*/
|
||||
public String getSerial() {
|
||||
// if (BuildConfig.DEBUG) return "MTK0002306120556370";
|
||||
if (mGetInfoInterface != null) {
|
||||
try {
|
||||
return mGetInfoInterface.getSerial();
|
||||
@@ -180,6 +182,16 @@ public class RemoteManager {
|
||||
}
|
||||
}
|
||||
|
||||
public String getDistrict() {
|
||||
getLocation();
|
||||
MapBean mapBean = getMapBean();
|
||||
if (mapBean == null) {
|
||||
return "北京";
|
||||
} else {
|
||||
return mapBean.getDistrict();
|
||||
}
|
||||
}
|
||||
|
||||
public double getLongitude() {
|
||||
MapBean mapBean = getMapBean();
|
||||
if (mapBean == null) {
|
||||
|
||||
Reference in New Issue
Block a user