Browse Source

细节修改

kaijia 4 months ago
parent
commit
930dbcac58

+ 0 - 3
app/src/main/java/com/kx/liedouYX/net/retrofit/RetrofitUtils.java

@@ -135,9 +135,6 @@ public class RetrofitUtils {
135 135
                         } else if (e instanceof IllegalStateException) {
136 136
                             callBack.fail("无效状态异常");
137 137
                             e.printStackTrace();
138
-                        } else if (e instanceof JsonSyntaxException) {
139
-//                            callBack.fail("数据解析异常");
140
-                            e.printStackTrace();
141 138
                         } else {
142 139
                             callBack.fail("数据异常!");
143 140
                             e.printStackTrace();

+ 1 - 1
app/src/main/java/com/kx/liedouYX/ui/activity/welcome/WelcomeActivity.java

@@ -96,7 +96,7 @@ public class WelcomeActivity extends AppCompatActivity implements IHomePageSubVi
96 96
         LogUtil.e("程序启动 " + activitySize);
97 97
         MyCrashHandler.getInstance().init(this);
98 98
         //是不是华为的设备
99
-        Constants.isHuaWeiPhone = false;
99
+        Constants.isHuaWeiPhone = true;
100 100
 
101 101
         boolean initSDK = SPUtils.getInstance().getBoolean("initSDK", false);
102 102
         if (initSDK) {