同步PD修复内容:

fix[修復小窗播放白屏問題]
潘多拉:
调整回融云拦截声音&震动
消息通知调用声音&震动
This commit is contained in:
2024-06-19 15:24:37 +08:00
parent 65b045ca61
commit 0ff76e1e47
9 changed files with 51 additions and 26 deletions

View File

@@ -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<Unit>() {
@Override
public void onSubscribe(Disposable d) {

View File

@@ -75,9 +75,9 @@
<bool name="rc_enable_send_combine_message">false</bool>
<!--在前台非会话页面时,接收到新消息是否响铃 -->
<bool name="rc_sound_in_foreground">true</bool>
<bool name="rc_sound_in_foreground">false</bool>
<!--在前台非会话页面时,接收到新消息是否震动-->
<bool name="rc_vibrate_in_foreground">true</bool>
<bool name="rc_vibrate_in_foreground">false</bool>
<!--会话页面右上角的未读 @ 消息数提示,当收到的消息中有 @ 消息时,进入会话之后,是否在右上角提示未读 @ 消息数-->