diff --git a/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/BtnTouchArea.java b/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/BtnTouchArea.java index b08c3893..0f1f0086 100644 --- a/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/BtnTouchArea.java +++ b/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/BtnTouchArea.java @@ -52,7 +52,7 @@ public boolean handleBtnFingerDown(Finger finger) { if (!isInside(finger)) return false; - Log.d(TAG, String.format("handleBtnFingerDown: 在toucharea范围内吗%f,%f,%f,%f", topX, topY, bottomX, bottomY)); +// Log.d(TAG, String.format("handleBtnFingerDown: 在toucharea范围内吗%f,%f,%f,%f", topX, topY, bottomX, bottomY)); //如果finger已经失效,就清空数组。(这样如果按键卡住了,再次按下的时候就可以恢复) if (activeFinger == null) { diff --git a/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/widget/RegularKeyBtn.java b/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/widget/RegularKeyBtn.java index a516452d..49dc8444 100644 --- a/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/widget/RegularKeyBtn.java +++ b/app/src/main/java/com/example/datainsert/exagear/controls/interfaceOverlay/widget/RegularKeyBtn.java @@ -127,7 +127,7 @@ protected void updateModelMargins(int marginLeft, int marginTop) { @Override public void injectPress(Finger finger) { - Log.d(TAG, "injectPress: 按下键" + mOneKey.getName()); +// Log.d(TAG, "injectPress: 按下键" + mOneKey.getName()); /* 按键输入,如果是shift这种,按下就触发,交给ontouch处理,否则交给onclick处理 不如先都交给onclick处理吧。修饰键点击时只按下或抬起,普通键点击时一次完整的按下抬起。 diff --git a/patchapp/build.gradle b/patchapp/build.gradle index cb1b0ea2..3faf3460 100644 --- a/patchapp/build.gradle +++ b/patchapp/build.gradle @@ -10,7 +10,7 @@ android { applicationId "com.ewt45.patchapp" minSdk 21 targetSdk 27 - versionCode 2 + versionCode 3 versionName "0.0.2" resConfigs "en", "zh","ru" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" @@ -36,7 +36,9 @@ android { dependencies { + //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:28.0.0' + //noinspection GradleCompatible implementation 'com.android.support:design:28.0.0' implementation 'com.android.support.constraint:constraint-layout:2.0.4' implementation 'android.arch.navigation:navigation-fragment:1.0.0' diff --git a/patchapp/release/output-metadata.json b/patchapp/release/output-metadata.json index 71ba3839..76339927 100644 --- a/patchapp/release/output-metadata.json +++ b/patchapp/release/output-metadata.json @@ -11,7 +11,7 @@ "type": "SINGLE", "filters": [], "attributes": [], - "versionCode": 2, + "versionCode": 3, "versionName": "0.0.2", "outputFile": "patchapp-release.apk" }