From 34f0d1927d662956202620b8036384a026ceca29 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 18 四月 2022 10:17:48 +0800 Subject: [PATCH] 风行网页播放 --- BuWanVideo/src/com/weikou/beibeivideo/ui/media/EpisodeFragment.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/ui/media/EpisodeFragment.java b/BuWanVideo/src/com/weikou/beibeivideo/ui/media/EpisodeFragment.java index abdf155..717a9c4 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/ui/media/EpisodeFragment.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/ui/media/EpisodeFragment.java @@ -285,7 +285,7 @@ String loginid = sp.getString("LoginUid", ""); if (StringUtils.isEmpty(loginid)) { Toast.makeText(ll_add_attention.getContext(), "鐧诲綍鎴愬姛鍚庢墠鑳借繘琛屽叧娉紒", Toast.LENGTH_LONG).show(); - getContext().startActivity(new Intent(ll_add_attention.getContext(), LoginActivity.class)); + UserUtil.toLogin(ll_add_attention.getContext()); return; } if (mVideoInfo.getAttention().isAttention()) {//鍙栨秷鍏虫敞 @@ -567,7 +567,7 @@ final String loginUid = preferences.getString("LoginUid", ""); if (StringUtils.isEmpty(loginUid)) { SingleToast.showToast(ll_add_attention.getContext(), "鐧诲綍鍚庢墠鑳芥敹钘�"); - startActivity(new Intent(ll_add_attention.getContext(), LoginActivity.class)); + UserUtil.toLogin(ll_add_attention.getContext()); break; } String uid = preferences.getString("uid", ""); -- Gitblit v1.8.0