2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 14:15:14 +00:00

Fields can be local variables

This commit is contained in:
Albert Vaca Cintora
2024-03-01 23:48:04 +01:00
parent bcfacc0c34
commit 2cd88b56da

View File

@@ -48,8 +48,6 @@ public class MousePadActivity
private float mPrevX;
private float mPrevY;
private float mCurrentX;
private float mCurrentY;
private float mCurrentSensitivity;
private float displayDpiMultiplier;
private int scrollDirection = 1;
@@ -299,8 +297,8 @@ public class MousePadActivity
mPrevY = event.getY();
break;
case MotionEvent.ACTION_MOVE:
mCurrentX = event.getX();
mCurrentY = event.getY();
float mCurrentX = event.getX();
float mCurrentY = event.getY();
MousePadPlugin plugin = KdeConnect.getInstance().getDevicePlugin(deviceId, MousePadPlugin.class);
if (plugin == null) {