class NotificationSoundDecorator extends HaloNotificationDecorator {

    @Override
    public NotificationCompat.Builder decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle) {
        String sound = bundle.getString("sound");
        if (!TextUtils.isEmpty(sound)) {
            Uri soundUri = null;
            if ("default".equalsIgnoreCase(sound)) {
                soundUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
            } else {
                int soundId = mContext.getResources().getIdentifier(sound, "raw", mContext.getPackageName());
                if (soundId != 0) {
                    soundUri = HaloUtils.getUriFromResource(mContext, soundId);
                }
            }
            if (soundUri != null) {
                builder.setSound(soundUri);
            }
        }
        return chain(builder, bundle);
    }

    public  NotificationSoundDecorator(Context context, HaloNotificationDecorator decorator);

}