Browse Source

upgrade:优化

xwh 2 weeks ago
parent
commit
c68a258498

+ 2 - 2
app/build.gradle

@@ -16,8 +16,8 @@ android {
         applicationId "com.hanghui.senic"
         minSdkVersion 22
         targetSdkVersion 22
-        versionCode 148
-        versionName "1.4.0.241226"
+        versionCode 149
+        versionName "1.4.0.241227"
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
         ndk {
             abiFilters "armeabi-v7a"   //armeabi-v7a 'arm64-v8a'

+ 1 - 1
app/src/main/java/com/hanghui/senic/baiduface/view/BaiduResultView.java

@@ -899,7 +899,7 @@ public class BaiduResultView  extends LinearLayout {
                         sucText="请通行";
                     }
                     ImageLoaderUtils.loadImage(bitmap,ivPhoto,options);
-
+                    iv_through.setVisibility(VISIBLE);
                     ImageLoaderUtils.loadRes(R.mipmap.mainactivity_aicon,iv_through);
                     ImageLoaderUtils.loadRes(R.mipmap.blue_background_gradient,iv_top_bg);
                     ll_outcome_masked.setBackgroundResource(R.drawable.outcome_masked_blues);

+ 4 - 4
app/src/main/java/com/hanghui/senic/service/usbserialdemo/utile/ConfigManager.java

@@ -1593,13 +1593,13 @@ public class ConfigManager {
     public static boolean isSuccessShowPersenalInfoPhoto = false;
     public static boolean isSuccessShowPersenalInfoIDCard = false;
     public static void isSuccessShowPersenalInfo(){
+        isSuccessShowPersenalInfoName = false;
+        isSuccessShowPersenalInfoPhone = false;
+        isSuccessShowPersenalInfoPhoto = false;
+        isSuccessShowPersenalInfoIDCard = false;
         if (ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList() ==null ||
                 ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().size() == 0){
             ConfigManager.getAuthenticationBeanListBean().setSuccessShowPersonalInfoList(null);
-            isSuccessShowPersenalInfoName = false;
-            isSuccessShowPersenalInfoPhone = false;
-            isSuccessShowPersenalInfoPhoto = false;
-            isSuccessShowPersenalInfoIDCard = false;
             return;
         }
         for (int i = 0; i < ConfigManager.getAuthenticationBeanListBean().getSuccessShowPersonalInfoList().size(); i++) {