From 2eec3de87b6b616a69a46c1f97c2397159031d2f Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 21 十一月 2023 18:01:43 +0800 Subject: [PATCH] 广告升级/bug修复 --- BuWanVideo/src/com/doudou/ysvideo/wxapi/WXEntryActivity.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BuWanVideo/src/com/doudou/ysvideo/wxapi/WXEntryActivity.java b/BuWanVideo/src/com/doudou/ysvideo/wxapi/WXEntryActivity.java index ed8a81f..0baf482 100644 --- a/BuWanVideo/src/com/doudou/ysvideo/wxapi/WXEntryActivity.java +++ b/BuWanVideo/src/com/doudou/ysvideo/wxapi/WXEntryActivity.java @@ -2,18 +2,18 @@ import android.app.Dialog; -import android.app.ProgressDialog; import android.content.Context; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Build; import android.os.Bundle; -import android.support.annotation.Nullable; -import android.util.Log; +import androidx.annotation.Nullable; + import android.view.View; import android.view.Window; import android.view.WindowManager; +import com.lcjian.library.dialog.DialogUtil; import com.lcjian.library.util.SingleToast; import com.tencent.mm.opensdk.modelbase.BaseReq; import com.tencent.mm.opensdk.modelbase.BaseResp; @@ -113,6 +113,7 @@ @Override public void onStart() { super.onStart(); + DialogUtil.show(dialog); if (!dialog.isShowing()) dialog.show(); } @@ -120,8 +121,7 @@ @Override public void onFinish() { super.onFinish(); - if (dialog.isShowing()) - dialog.dismiss(); + DialogUtil.dismiss(dialog); } @Override -- Gitblit v1.8.0