version:2.0.8

bugfixes:
update:更滑图标,增加获取系统设置
This commit is contained in:
2025-09-08 18:19:15 +08:00
parent 7ba6544143
commit 8229219fc1
41 changed files with 1066 additions and 181 deletions

View File

@@ -96,7 +96,12 @@ public class AmapManager {
Gson gson = new Gson();
Type type = new TypeToken<MapBean>() {
}.getType();
mMapBean = gson.fromJson(jsonString, type);
try {
mMapBean = gson.fromJson(jsonString, type);
} catch (Exception e) {
Log.e(TAG, "initAmap: ");
mMMKV.remove(CommonConfig.MAP_LOCATION_JSON_KEY);
}
} else {
Log.e(TAG, "initAmap: jsonString is empty");
}