Add explicit handling of switch constant

This commit is contained in:
Fredrik Fornwall
2016-04-22 03:30:09 +02:00
parent b7f3fdf528
commit 7db1f6c5a1

View File

@@ -389,6 +389,9 @@ public final class TermuxActivity extends Activity implements ServiceConnection
case TermuxPreferences.BELL_VIBRATE: case TermuxPreferences.BELL_VIBRATE:
((Vibrator) getSystemService(VIBRATOR_SERVICE)).vibrate(50); ((Vibrator) getSystemService(VIBRATOR_SERVICE)).vibrate(50);
break; break;
case TermuxPreferences.BELL_IGNORE:
// Ignore the bell character.
break;
} }
} }