From 8d190aa3a8464dd4d7606d48d36da21d7190f549 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 07 五月 2021 16:19:19 +0800 Subject: [PATCH] 广告调整 --- BuWanVideo/src/com/weikou/beibeivideo/receiver/APPInstallReceiver.java | 30 ------------------------------ 1 files changed, 0 insertions(+), 30 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/receiver/APPInstallReceiver.java b/BuWanVideo/src/com/weikou/beibeivideo/receiver/APPInstallReceiver.java index cd4822a..3499794 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/receiver/APPInstallReceiver.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/receiver/APPInstallReceiver.java @@ -1,16 +1,10 @@ package com.weikou.beibeivideo.receiver; -import android.content.ActivityNotFoundException; import android.content.BroadcastReceiver; -import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Handler; - -import com.lcjian.library.util.common.StringUtils; -import com.weikou.beibeivideo.BeibeiVideoApplication; -import com.weikou.beibeivideo.ui.recommend.RecommendAdapter; public class APPInstallReceiver extends BroadcastReceiver { @@ -30,31 +24,7 @@ @Override public void run() { - if (packageName != null - && packageName - .equalsIgnoreCase(RecommendAdapter.MM_PACKAGE_NAME) - && !StringUtils - .isBlank(BeibeiVideoApplication.MMNumber)) { - if (packageName - .equalsIgnoreCase(RecommendAdapter.MM_PACKAGE_NAME)) { - Intent intent = new Intent(); - intent.setComponent(new ComponentName( - RecommendAdapter.MM_PACKAGE_NAME, - RecommendAdapter.MM_CLASS_NAME)); - intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); - intent.setAction("com.memezhibo.android.exportedAction");// 涔堜箞鐩存挱action鍚� - intent.putExtra("room_id", Long - .parseLong(BeibeiVideoApplication.MMNumber)); - - try { - mContext.startActivity(intent); - } catch (ActivityNotFoundException e) { - } - - } - - } } }, time); } -- Gitblit v1.8.0