diff --git a/src/app/src/main/AndroidManifest.xml b/src/app/src/main/AndroidManifest.xml index b30d1a0..7c52a6e 100644 --- a/src/app/src/main/AndroidManifest.xml +++ b/src/app/src/main/AndroidManifest.xml @@ -13,6 +13,8 @@ + + = Build.VERSION_CODES.O) { + v.vibrate(VibrationEffect.createWaveform(pattern, 0)); + } + else{ + v.vibrate(pattern,0); + } } private void stopRinging(){ ringtoneManager.stop(); + v.cancel(); finishAffinity(); }