Skip to content

Commit 6c678ff

Browse files
committed
version1.0.4
1 parent 63e0d08 commit 6c678ff

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ android {
2121
applicationId "com.wrbug.developerhelper"
2222
minSdkVersion 21
2323
targetSdkVersion 28
24-
versionCode 100030
25-
versionName "1.0.3"
24+
versionCode 100040
25+
versionName "1.0.4"
2626
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
2727
ndk {
2828
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a"

app/src/main/java/com/wrbug/developerhelper/ui/activity/main/MainActivity.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ class MainActivity : BaseVMActivity<MainViewModel>() {
8989
inner class Presenter {
9090
fun onAccessibilityClick() {
9191
if (!accessibilitySettingView.checked) {
92-
showSnack(getString(R.string.waiting))
93-
AccessibilityManager.startService(context)
92+
AccessibilityManager.startAccessibilitySetting(context)
9493
} else {
9594
showSnack(getString(R.string.accessibility_service_opened))
9695
}

app/src/main/java/com/wrbug/developerhelper/ui/widget/layoutinfoview/HierarchyGraphView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class HierarchyGraphView(context: Context, attributes: AttributeSet?) : GraphVie
1818
parent.requestDisallowInterceptTouchEvent(true)
1919
if (ev?.action == MotionEvent.ACTION_DOWN) {
2020
if (System.currentTimeMillis() - clickTime < 200) {
21-
zoomIn()
21+
zoomBy(1.8F, true)
2222
clickTime = 0
2323
}
2424
clickTime = System.currentTimeMillis()

0 commit comments

Comments
 (0)