增加天气每小时显示,去掉autosize,增加svg显示
This commit is contained in:
1 parent
0f2adad060
commit
1977fd1cb2
575 files changed
+23756
-347
No files matched your search
@@ -14,6 +14,7 @@ import com.hjq.toast.Toaster;
|
||||
import com.tencent.bugly.crashreport.CrashReport;
|
||||
import com.tencent.mmkv.MMKV;
|
||||
import com.ttstd.dialer.BuildConfig;
|
||||
import com.ttstd.dialer.config.CommonConfig;
|
||||
import com.ttstd.dialer.manager.AppManager;
|
||||
import com.ttstd.dialer.manager.MapManager;
|
||||
import com.ttstd.dialer.manager.WeatherManager;
|
||||
@@ -62,6 +63,7 @@ public class BaseApplication extends Application {
|
||||
|
||||
String rootDir = MMKV.initialize(this);
|
||||
Log.e(TAG, "mmkv root: " + rootDir);
|
||||
MMKV mmkv = MMKV.mmkvWithID(CommonConfig.MMKV_ID, MMKV.MULTI_PROCESS_MODE);
|
||||
|
||||
/*jpush start*/
|
||||
JPushInterface.setDebugMode(true);
|
||||
@@ -101,6 +103,13 @@ public class BaseApplication extends Application {
|
||||
AppManager.init(this);
|
||||
MapManager.init(this);
|
||||
MapManager.getInstance().initMap();
|
||||
boolean manually = mmkv.decodeBool(CommonConfig.MANUALLY_SELECT_LOCATION, false);
|
||||
Log.e(TAG, "init: manually location " + manually);
|
||||
if (manually) {
|
||||
|
||||
} else {
|
||||
MapManager.getInstance().startLocation();
|
||||
}
|
||||
WeatherManager.init(this);
|
||||
IconCacheManager.init(this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user