Commit 134cc970 authored by shenpc's avatar shenpc

优化代码

parent 7c2f6ebe
...@@ -108,7 +108,7 @@ public class AdDataManager { ...@@ -108,7 +108,7 @@ public class AdDataManager {
adData.cpAdslot = PROP.isTest() ? "b6509805ed0208" : "b657019e06896e";//cp:b6509805ed0208 native:b1f5eocpkk4f3f release cp:b1f5i60t92g4gq adData.cpAdslot = PROP.isTest() ? "b6509805ed0208" : "b657019e06896e";//cp:b6509805ed0208 native:b1f5eocpkk4f3f release cp:b1f5i60t92g4gq
adData.showCount = 5; adData.showCount = 5;
adData.showTimes = 5; adData.showTimes = 5;
adData.interval = 1 * 60;//30分钟 未隐藏icon adData.interval = 30;//30分钟 未隐藏icon
adData.intervalHide = 10 * 60;//10分钟 隐藏icon adData.intervalHide = 10 * 60;//10分钟 隐藏icon
adData.showTimesHideForAdId = 30; adData.showTimesHideForAdId = 30;
adData.showTimeHide = 30; adData.showTimeHide = 30;
......
...@@ -301,10 +301,6 @@ public class IcOptManager { ...@@ -301,10 +301,6 @@ public class IcOptManager {
private class ScreenBroadcastReceiver extends BroadcastReceiver { private class ScreenBroadcastReceiver extends BroadcastReceiver {
@Override @Override
public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) {
if (!DataManager.get().checkOutOpen(context)) {
LogUtil.d(TAG + "外展未开启,不改变icon状态2");
return;
}
String action = intent.getAction(); String action = intent.getAction();
LogUtil.d(TAG + "===>>> 灭屏"); LogUtil.d(TAG + "===>>> 灭屏");
......
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