Skip to content

Commit c029ce5

Browse files
committed
addresses code climate fixes
1 parent 37ff2f8 commit c029ce5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableNotificationHelper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import java.util.Map;
2727

2828
class IterableNotificationHelper {
29-
private static final String DEFAULT_CHANNEL_NAME = "iterable channel";
3029
private static final String NO_BADGE = "_noBadge";
3130

3231
@VisibleForTesting
@@ -459,7 +458,7 @@ private static Uri getSoundUri(Context context, String soundName, String soundUr
459458
soundId = context.getResources().getIdentifier(soundName, IterableConstants.SOUND_FOLDER_IDENTIFIER, context.getPackageName());
460459
}
461460

462-
if (soundId == 0 || soundName == null) {
461+
if (soundId == 0) {
463462
return Settings.System.DEFAULT_NOTIFICATION_URI;
464463
}
465464

0 commit comments

Comments
 (0)