From a0b3598842d57f5dfb5736e8a4fff5a9d70191a5 Mon Sep 17 00:00:00 2001
From: liugl <liugl@sinata.cn>
Date: 星期四, 06 八月 2020 20:55:52 +0800
Subject: [PATCH] 8.6

---
 app/src/main/java/com/okgoincar/slab/MySlabBaseActivity.java |   36 +++++++++++++-----------------------
 1 files changed, 13 insertions(+), 23 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..fa51689 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);
     }
 
 
@@ -140,14 +140,6 @@
     }
 
 
-    public void showOrder(String orderId, String orderType) {
-//        Bundle bundle = creatBundleString("orderId", orderId);
-//        bundle.putString("orderType", orderType);
-        Intent intent = new Intent(this, SlabGetOrderFragment.class);
-        intent.putExtra("orderId",orderId);
-        intent.putExtra("orderType",orderType);
-        startActivity(intent);
-    }
 
     public void toDorderAct(String orderId, String orderType){
         Intent intent = new Intent(this, SlabTripActivity.class);
@@ -164,8 +156,6 @@
      * @param type
      */
     public void showOrder(String orderId, String orderType,int time,int type) {
-//        Bundle bundle = creatBundleString("orderId", orderId);
-//        bundle.putString("orderType", orderType);
         Intent intent = new Intent(this,SlabGetOrderFragment.class);
         intent.putExtra("orderId",orderId);
         intent.putExtra("orderType",orderType);

--
Gitblit v1.7.1