Browse Source

替换包名,添加紫鹏SN适配

dt-9690807782-gp7GC 1 year ago
parent
commit
7a6a9f3a5d

+ 1 - 1
app/src/main/java/com/telpo/facenormal/activity/BaseActivity.java

@@ -75,7 +75,7 @@ public abstract class BaseActivity extends Activity {
     // ----------aidl 消息互通-----------
     private void bindService() {
 
-        AppLogUtils.e(true,"与服务端进行绑定 bindService");
+        AppLogUtils.i(true,"与服务端进行绑定 bindService");
         Intent intent = new Intent();
         // 对应服务端AndroidManifest.xml配置service action:name
         String ACTION = "com.hh.hhomc.services.AidlService";

+ 2 - 0
app/src/main/java/com/telpo/facenormal/activity/MainActivity.java

@@ -3629,6 +3629,8 @@ public class MainActivity extends BaseActivity implements ContractInterface.VAut
             pat = "/dev/ttyACM0";
         } else if (Build.MODEL.indexOf("TPS980") != -1) {
             pat = "/dev/ttyS0";
+        } else if(Build.MODEL.equals("A50R3")){
+            return;
         } else {
             String[] DevicesPath = new com.telpo.facenormal.utile.SerialPortFinder().getAllDevicesPath();
             AppLogUtils.i(true, "所有串口地址数据  " + new Gson().toJson(DevicesPath));