我使用下面的代码:
Uri idUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE);
notificationBuilder.setSound(idUri);
收到通知后,不玩了RINGTONE type
。播放ALARM type
我使用下面的代码:
Uri idUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_RINGTONE);
notificationBuilder.setSound(idUri);
收到通知后,不玩了RINGTONE type
。播放ALARM type