Skip to content

Commit

Permalink
Removed unecessary condition from silent detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefbsantos committed Oct 14, 2014
1 parent 88099d7 commit 36eaa7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36eaa7a

Please sign in to comment.