diff --git a/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java b/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java index ee5e4dd..517fede 100644 --- a/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java +++ b/DroidFishApp/src/main/java/org/petero/droidfish/DroidFish.java @@ -983,7 +983,6 @@ public class DroidFish extends Activity public void run() { pending = false; handler.removeCallbacks(runnable); - ((Vibrator)getSystemService(Context.VIBRATOR_SERVICE)).vibrate(20); reShowDialog(BOARD_MENU_DIALOG); } }; diff --git a/DroidFishApp/src/main/java/org/petero/droidfish/activities/EditBoard.java b/DroidFishApp/src/main/java/org/petero/droidfish/activities/EditBoard.java index 339f17d..a7f0e0e 100644 --- a/DroidFishApp/src/main/java/org/petero/droidfish/activities/EditBoard.java +++ b/DroidFishApp/src/main/java/org/petero/droidfish/activities/EditBoard.java @@ -45,14 +45,12 @@ import android.content.ClipData; import android.content.ClipDescription; import android.content.ClipboardManager; import android.content.Context; -import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.graphics.Typeface; import android.os.Bundle; import android.os.Handler; -import android.os.Vibrator; import android.preference.PreferenceManager; import androidx.core.view.MotionEventCompat; import androidx.drawerlayout.widget.DrawerLayout; @@ -197,7 +195,6 @@ public class EditBoard extends Activity { public void run() { pending = false; handler.removeCallbacks(runnable); - ((Vibrator)getSystemService(Context.VIBRATOR_SERVICE)).vibrate(20); drawerLayout.openDrawer(Gravity.LEFT); } };