Commit e3ec0368 authored by mengcuiguang's avatar mengcuiguang
parents 229a720b 806f18e3
...@@ -249,9 +249,9 @@ public class MintsApplication extends BaseApp { ...@@ -249,9 +249,9 @@ public class MintsApplication extends BaseApp {
PackageWatch.getInstance(this).begin(new PackageWatch.InstallStateListener() { PackageWatch.getInstance(this).begin(new PackageWatch.InstallStateListener() {
@Override @Override
public void onAdded(String pkgName) { public void onAdded(String pkgName) {
AntiAuditManager.Companion.getInstance().antiAudit();
if (WifiDataManager.INSTANCE.getInstallApk()) { if (WifiDataManager.INSTANCE.getInstallApk()) {
// AntiAuditManager.Companion.getInstance().updateInstallApkCount(); // AntiAuditManager.Companion.getInstance().updateInstallApkCount();
AntiAuditManager.Companion.getInstance().antiAudit();
OutAppRouter.INSTANCE.showApkActivity(0, pkgName); OutAppRouter.INSTANCE.showApkActivity(0, pkgName);
} }
} }
......
...@@ -237,6 +237,9 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd { ...@@ -237,6 +237,9 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd {
adcode = mttRewardAd.getAdNetworkRitId(); adcode = mttRewardAd.getAdNetworkRitId();
ecpm = mttRewardAd.getPreEcpm(); ecpm = mttRewardAd.getPreEcpm();
adSource = mttRewardAd.getAdNetworkPlatformId(); adSource = mttRewardAd.getAdNetworkPlatformId();
LogUtil.d(TAG, "广告展示:onRewardedAdShow adcode=" + adcode + " ecpm=" + ecpm + " adSource=" + adSource);
vo.put("adcode", adcode); vo.put("adcode", adcode);
vo.put("ecpm", ecpm); vo.put("ecpm", ecpm);
vo.put("adSource", adSource); vo.put("adSource", adSource);
...@@ -308,6 +311,10 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd { ...@@ -308,6 +311,10 @@ public class PreCsjGroMoreVideoAdManager extends BaseVideoAd {
vo.put("adid", CsjGroMoreManager.INSTANCE.getAPP_IN_MAIN_AD_UNIT_VIDEO_ID()); vo.put("adid", CsjGroMoreManager.INSTANCE.getAPP_IN_MAIN_AD_UNIT_VIDEO_ID());
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
LogUtil.d(TAG, "广告关闭:onRewardedAdShow adcode=" + adcode + " ecpm=" + ecpm + " adSource=" + adSource);
// 数据重置 // 数据重置
adcode =""; adcode ="";
ecpm = ""; ecpm = "";
......
...@@ -71,7 +71,10 @@ class AntiAuditManager private constructor() { ...@@ -71,7 +71,10 @@ class AntiAuditManager private constructor() {
RxjavaUtil.executeRxTask(object : CommonRxTask<Boolean>() { RxjavaUtil.executeRxTask(object : CommonRxTask<Boolean>() {
override fun doInIOThread() { override fun doInIOThread() {
t = DeviceInfo.instance.getAPPInstalledThreeDay(MintsApplication.getContext(),getSumCount()) t = DeviceInfo.instance.getAPPInstalledThreeDay(
MintsApplication.getContext(),
getSumCount()
)
} }
override fun doInUIThread() { override fun doInUIThread() {
......
...@@ -160,6 +160,9 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback, ...@@ -160,6 +160,9 @@ class HomeFragment : BaseFragment(), WifiStateManager.WifiStateCallback,
if (!AntiAuditManager.instance.isBlack()) { if (!AntiAuditManager.instance.isBlack()) {
homePresenter.getHotActivity() homePresenter.getHotActivity()
homePresenter.getDownloadBottoms() homePresenter.getDownloadBottoms()
}else{
ll_home_root.visibility=View.GONE
recy_task.visibility=View.GONE
} }
homePresenter.getBubbleMsg() homePresenter.getBubbleMsg()
(requireActivity() as MainActivity).refreshHall() (requireActivity() as MainActivity).refreshHall()
......
...@@ -560,7 +560,6 @@ class WifiFragment : BaseFragment(), View.OnClickListener, OnItemClickListener, ...@@ -560,7 +560,6 @@ class WifiFragment : BaseFragment(), View.OnClickListener, OnItemClickListener,
RxPermissions(requireActivity()) RxPermissions(requireActivity())
.request( .request(
Manifest.permission.ACCESS_BACKGROUND_LOCATION, Manifest.permission.ACCESS_BACKGROUND_LOCATION,
Manifest.permission.ACCESS_COARSE_LOCATION,
Manifest.permission.ACCESS_FINE_LOCATION Manifest.permission.ACCESS_FINE_LOCATION
) )
} }
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginLeft="10dp" android:layout_marginLeft="20dp"
android:layout_marginTop="20dp" android:layout_marginTop="20dp"
android:layout_marginRight="20dp" android:layout_marginRight="20dp"
android:paddingStart="10dp" android:paddingStart="10dp"
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
android:id="@+id/iv_left_icon" android:id="@+id/iv_left_icon"
android:layout_width="50dp" android:layout_width="50dp"
android:layout_height="50dp" android:layout_height="50dp"
android:layout_marginTop="40dp" android:layout_marginStart="10dp"
android:layout_marginTop="30dp"
android:padding="10dp" android:padding="10dp"
android:src="@mipmap/ic_arrow_back_white" android:src="@mipmap/ic_arrow_back_white"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginLeft="20dp" android:layout_marginLeft="30dp"
android:layout_marginRight="30dp" android:layout_marginRight="30dp"
android:paddingStart="10dp" android:paddingStart="10dp"
android:textColor="@color/color_707A8D" android:textColor="@color/color_707A8D"
......
...@@ -168,6 +168,7 @@ ...@@ -168,6 +168,7 @@
android:textSize="18sp" /> android:textSize="18sp" />
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/ll_home_root"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="15dp" android:layout_marginStart="15dp"
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:paddingTop="10dp" android:paddingTop="10dp">
>
<FrameLayout <FrameLayout
android:id="@+id/fl_my_icon" android:id="@+id/fl_my_icon"
android:layout_width="38dp" android:layout_width="44dp"
android:layout_gravity="center_horizontal" android:layout_height="44dp"
android:layout_height="38dp"> android:layout_gravity="center_horizontal">
<ImageView <ImageView
android:id="@+id/ic_my_icon" android:id="@+id/ic_my_icon"
android:layout_width="38dp" android:layout_width="38dp"
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:gravity="center"
android:text="每5分钟可领取一次补贴金币" android:text="每5分钟可领取一次补贴金币"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="14sp" /> android:textSize="14sp" />
......
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