소스 검색

谷歌推送一键通话配置铃声

peng 1 년 전
부모
커밋
337548c817
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Service/PushService.py

+ 1 - 1
Service/PushService.py

@@ -169,7 +169,7 @@ class PushObject:
                 push_data['direct_boot_ok'] = True
                 result = push_service.notify_single_device(registration_id=token_val, message_title=msg_title,
                                                            message_body=msg_text, data_message=push_data,
-                                                           sound='android.resource://your.package.name/raw/phone_call',
+                                                           sound='android.resource://com.ansjer.zccloud_a/raw/phone_call',
                                                            click_action='android.intent.action.VIEW',
                                                            extra_kwargs={'default_sound': True,
                                                                          'default_vibrate_timings': True,