diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java index 28706b7b0..6fcea97c5 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java @@ -479,7 +479,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene } isInstructor(); - RongConfigCenter.notificationConfig().setInterceptor(new NotificationConfig.Interceptor() { + /*RongConfigCenter.notificationConfig().setInterceptor(new NotificationConfig.Interceptor() { @Override public boolean isNotificationIntercepted(Message message) { return true; @@ -499,7 +499,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene public NotificationChannel onRegisterChannel(NotificationChannel notificationChannel) { return null; } - }); + });*/ RxView.clicks(findViewById(R.id.banner_click)).throttleFirst(2, TimeUnit.SECONDS).subscribe(new Observer() { @Override public void onSubscribe(Disposable d) { diff --git a/main/src/main/res/values/rc_config.xml b/main/src/main/res/values/rc_config.xml index 7268494b1..d7d420bc4 100644 --- a/main/src/main/res/values/rc_config.xml +++ b/main/src/main/res/values/rc_config.xml @@ -75,7 +75,10 @@ false - false + true + + true + true