From e08fb55566539c5b0c489ab6f4b565454e2ae375 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 20 四月 2021 19:06:54 +0800
Subject: [PATCH] bug修复

---
 BuWanVideo/src/com/weikou/beibeivideo/ui/recommend/SearchActivity.java |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/BuWanVideo/src/com/weikou/beibeivideo/ui/recommend/SearchActivity.java b/BuWanVideo/src/com/weikou/beibeivideo/ui/recommend/SearchActivity.java
index c06b0a2..0f5c1aa 100644
--- a/BuWanVideo/src/com/weikou/beibeivideo/ui/recommend/SearchActivity.java
+++ b/BuWanVideo/src/com/weikou/beibeivideo/ui/recommend/SearchActivity.java
@@ -95,8 +95,7 @@
 
     private boolean touchSearchInput = false;
 
-    //璧氬奖瑙嗚眴
-    private Runnable makeGoldCornRunnable;
+
 
     private void initView() {
         fl_advertisement = findViewById(R.id.fl_advertisement);
@@ -481,8 +480,7 @@
                                 }
                             });
                         }
-                        //鎸e奖瑙嗚眴
-                        makeGoldCornRunnable = GoldCornUtil.makeGoldCorn(getIntent(), et_search_key, null, null, 2, null);
+
                     }
                 });
             }
@@ -529,6 +527,10 @@
         Intent intent = new Intent(SearchActivity.this,
                 SearchResultActivity.class);
         intent.putExtra("key", key);
+        if (getIntent() != null) {
+            intent.putExtra("goldcorn", getIntent().getStringExtra("goldcorn"));
+            getIntent().removeExtra("goldcorn");
+        }
         startActivity(intent);
     }
 
@@ -616,6 +618,6 @@
     @Override
     protected void onDestroy() {
         super.onDestroy();
-        GoldCornUtil.removeCallbacks(et_search_key, makeGoldCornRunnable);
+
     }
 }

--
Gitblit v1.8.0