From 7b6eb7bbed9ad6288ea769b40cf50acb4cc890ac Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 12 Jun 2024 14:41:01 +0800 Subject: [PATCH] =?UTF-8?q?add[=E6=94=B6=E5=88=B0=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=97=B6=EF=BC=88=E5=8C=85=E6=8B=AC=E5=BC=B9=E7=AA=97=E5=92=8C?= =?UTF-8?q?=E6=B6=88=E6=81=AF=EF=BC=89=E9=9C=80=E5=87=BA=E7=8E=B0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=9F=B3+=E6=89=8B=E6=9C=BA=E9=9C=87=E5=8A=A8]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yunbao/main/activity/MainActivity.java | 4 ++-- main/src/main/res/values/rc_config.xml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) 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 28706b7..6fcea97 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 7268494..d7d420b 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