mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +01:00
Remove vibration when opening board context menu
This commit is contained in:
parent
4230847224
commit
b86e7d31f7
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user