From 2eb712cec24c7c6bb8c64dd332aa625efd8b7abe Mon Sep 17 00:00:00 2001
From: liugl <liugl@sinata.cn>
Date: 星期二, 21 七月 2020 11:56:17 +0800
Subject: [PATCH] first commit

---
 app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java b/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java
index 96bc3c5..2dac744 100644
--- a/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java
+++ b/app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java
@@ -95,20 +95,20 @@
 
     }
 
-    Handler heartHandler;
+//    Handler heartHandler;
     private void settest() {
-        tv_test.setVisibility(VISIBLE);
-        if (!MyApplication.Companion.getLocation().getAoiName().isEmpty()){
-            tv_test.setText(
-                    "定位位置:lat="+MyApplication.Companion.getLocation().getLatitude()+"  lng="+MyApplication.Companion.getLocation().getLongitude()
-                            + "  心跳数量()="+MyApplication.Companion.getTestHeartNunm()+"  收到的websocket数量="+MyApplication.Companion.getTestReceiveNum()
-                    +"  方向角="+MyApplication.Companion.getLocation().getBearing()+"  海拔"+MyApplication.Companion.getLocation().getAltitude()
-            );
-        }
-        if (heartHandler == null) {
-            heartHandler = new Handler(getMainLooper());
-        }
-        heartHandler.postDelayed(this::settest,2000);
+//        tv_test.setVisibility(VISIBLE);
+//        if (!MyApplication.Companion.getLocation().getAoiName().isEmpty()){
+//            tv_test.setText(
+//                    "定位位置:lat="+MyApplication.Companion.getLocation().getLatitude()+"  lng="+MyApplication.Companion.getLocation().getLongitude()
+//                            + "  心跳数量()="+MyApplication.Companion.getTestHeartNunm()+"  收到的websocket数量="+MyApplication.Companion.getTestReceiveNum()
+//                    +"  方向角="+MyApplication.Companion.getLocation().getBearing()+"  海拔"+MyApplication.Companion.getLocation().getAltitude()
+//            );
+//        }
+//        if (heartHandler == null) {
+//            heartHandler = new Handler(getMainLooper());
+//        }
+//        heartHandler.postDelayed(this::settest,2000);
     }
 
 

--
Gitblit v1.7.1