Skip to content

Commit

Permalink
version1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
WrBug committed Feb 13, 2019
1 parent 63e0d08 commit 6c678ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {
applicationId "com.wrbug.developerhelper"
minSdkVersion 21
targetSdkVersion 28
versionCode 100030
versionName "1.0.3"
versionCode 100040
versionName "1.0.4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ class MainActivity : BaseVMActivity<MainViewModel>() {
inner class Presenter {
fun onAccessibilityClick() {
if (!accessibilitySettingView.checked) {
showSnack(getString(R.string.waiting))
AccessibilityManager.startService(context)
AccessibilityManager.startAccessibilitySetting(context)
} else {
showSnack(getString(R.string.accessibility_service_opened))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class HierarchyGraphView(context: Context, attributes: AttributeSet?) : GraphVie
parent.requestDisallowInterceptTouchEvent(true)
if (ev?.action == MotionEvent.ACTION_DOWN) {
if (System.currentTimeMillis() - clickTime < 200) {
zoomIn()
zoomBy(1.8F, true)
clickTime = 0
}
clickTime = System.currentTimeMillis()
Expand Down

0 comments on commit 6c678ff

Please sign in to comment.