Commit a134d7e4 authored by jyx's avatar jyx

删除聚乐云代码

parent 83e7d116
......@@ -235,7 +235,7 @@ dependencies {
// 瑞狮新闻
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
implementation(name: 'xrsdk-release_tbs', ext: 'aar')
implementation(name: 'xrsharesdk-release_tbs', ext: 'aar')
// implementation(name: 'xrsharesdk-release_tbs', ext: 'aar')
implementation(name: 'windAd-2.25.0', ext: 'aar')
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3'
implementation 'com.scwang.smart:refresh-header-classics:2.0.3'
......@@ -244,11 +244,6 @@ dependencies {
implementation(name: 'mh-adsdk', ext: 'aar')
implementation(name: 'mh-adsdk-ext', ext: 'aar')
// implementation(name: 'ks_3.3.5.3', ext: 'aar')
// 聚乐云
implementation(name: 'okgo-5.0', ext: 'aar')
implementation(name: 'scenemodule-5.0-hzq', ext: 'aar')
implementation(name: 'scenead-5.0', ext: 'aar')
implementation 'com.just.agentweb:agentweb:4.1.2'
// 喜马拉雅 已集成
// 微转阅读(接入h5方式)
// implementation(name: 'articlesdk-v1.0.6.202012121917-x', ext: 'aar')
......@@ -271,8 +266,4 @@ dependencies {
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'com.squareup.retrofit2:converter-scalars:2.6.2'
implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
// 激励视频RTA
implementation(name: 'taskwake1.0', ext: 'aar')
}
......@@ -14,13 +14,11 @@ import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.viewpager.widget.ViewPager
import com.component.dly.xzzq_ywsdk.YwSDK_WebActivity.Companion.open
import com.fly.scenemodule.SceneUtil
import com.wenshu.youyou.BuildConfig
import com.wenshu.youyou.R
import com.wenshu.youyou.ad.banner.BannerManager
import com.wenshu.youyou.ad.express.PreLoadExpressManager
import com.wenshu.youyou.ad.express.TTPreLoadCarrierExpressManager
import com.wenshu.youyou.ad.express.TTPreLoadExpressXmlyManager
import com.wenshu.youyou.ad.video.VideoAdingManager
import com.wenshu.youyou.common.AppConfig
import com.wenshu.youyou.common.Constant
......@@ -904,12 +902,12 @@ class MyFragment : BaseFragment(),
.request(Manifest.permission.READ_PHONE_STATE)
.subscribe { granted: Boolean ->
if (granted) {
if (AppConfig.scene_flag) {
// if (AppConfig.scene_flag) {
// 猜成语
SceneUtil.cCy(requireActivity())
} else {
// SceneUtil.cCy(requireActivity())
// } else {
// SceneManager.signIn(requireActivity())
}
// }
} else {
showMissingPermissionDialog("设备")
}
......@@ -920,12 +918,12 @@ class MyFragment : BaseFragment(),
.request(Manifest.permission.READ_PHONE_STATE)
.subscribe { granted: Boolean ->
if (granted) {
if (AppConfig.scene_flag) {
// 答题
SceneUtil.daTi(requireActivity())
} else {
// if (AppConfig.scene_flag) {
// // 答题
// SceneUtil.daTi(requireActivity())
// } else {
// SceneManager.signIn(requireActivity())
}
// }
} else {
showMissingPermissionDialog("设备")
}
......@@ -936,12 +934,12 @@ class MyFragment : BaseFragment(),
.request(Manifest.permission.READ_PHONE_STATE)
.subscribe { granted: Boolean ->
if (granted) {
if (AppConfig.scene_flag) {
// if (AppConfig.scene_flag) {
// 刮刮乐
SceneUtil.scrapPage(requireActivity())
} else {
// SceneUtil.scrapPage(requireActivity())
// } else {
// SceneManager.signIn(requireActivity())
}
// }
} else {
showMissingPermissionDialog("设备")
}
......
......@@ -11,7 +11,7 @@ import android.content.pm.PackageInfo
import android.content.pm.PackageManager
import android.os.Build
import android.provider.Settings
import com.fly.scenemodule.util.StringUtilMy
import android.text.TextUtils
import com.wenshu.youyou.wenshuApplication
......@@ -127,9 +127,9 @@ object AppUtil {
}
fun getTimePkgUsed(paramContext: Context, paramString: String): Int {
if (StringUtilMy.stringAvalable(paramString) && checkPackInfo(paramContext, paramString) && Build.VERSION.SDK_INT >= 21) {
if (!TextUtils.isEmpty(paramString) && checkPackInfo(paramContext, paramString) && Build.VERSION.SDK_INT >= 21) {
val usageStatsManager = paramContext.getSystemService("usagestats") as UsageStatsManager
var l = System.currentTimeMillis()
val l = System.currentTimeMillis()
val list = usageStatsManager.queryUsageStats(UsageStatsManager.INTERVAL_BEST, l - 5 * 60 * 1000L, l)
if (list != null && list.size > 0) for (i in list.indices) {
// val str = (list[i] as UsageStats).packageName
......
......@@ -8,6 +8,6 @@
<item android:bottom="20dp">
<bitmap
android:gravity="bottom|center_horizontal"
android:src="@drawable/bg_splash" />
android:src="@drawable/ic_launcher_main" />
</item>
</layer-list>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment