diff --git a/src/main/java/mobi/boilr/boilr/utils/NotificationKlaxon.java b/src/main/java/mobi/boilr/boilr/utils/NotificationKlaxon.java index f762077..b81ddbe 100644 --- a/src/main/java/mobi/boilr/boilr/utils/NotificationKlaxon.java +++ b/src/main/java/mobi/boilr/boilr/utils/NotificationKlaxon.java @@ -68,7 +68,7 @@ public static void start(final Context context, Alarm alarm) { alertSoundUri = Uri.parse(sharedPrefs.getString(SettingsFragment.PREF_KEY_DEFAULT_ALERT_SOUND, "")); - if(!("").equals(alertSound) && !(Uri.EMPTY).equals(alertSoundUri)) { // Silent or None was selected + if(!(Uri.EMPTY).equals(alertSoundUri)) { // Silent or None was selected sMediaPlayer = new MediaPlayer(); sMediaPlayer.setOnErrorListener(new OnErrorListener() { @Override