File tree 1 file changed +5
-2
lines changed
app/src/main/java/com/kylecorry/intervalometer/infrastructure/services
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ class IntervalometerService : AccessibilityService() {
22
22
private val knownShutterButtons = listOf (
23
23
" com.android.camera:id/shutter_button" ,
24
24
" com.android.camera2:id/shutter_button" ,
25
- " com.google.android.GoogleCamera:id/shutter_button"
25
+ " com.google.android.GoogleCamera:id/shutter_button" ,
26
+ " com.riseupgames.proshot2:id/cameraButton"
26
27
)
27
28
28
29
private var stopReceiver = object : BroadcastReceiver () {
@@ -31,7 +32,7 @@ class IntervalometerService : AccessibilityService() {
31
32
Notify .cancel(this @IntervalometerService, 2 )
32
33
}
33
34
}
34
-
35
+
35
36
private var secondsUntilNextPhoto = 0L
36
37
37
38
private val timer = CoroutineTimer {
@@ -64,6 +65,8 @@ class IntervalometerService : AccessibilityService() {
64
65
)
65
66
) {
66
67
restartTimer()
68
+ } else {
69
+ println (event?.source?.viewIdResourceName)
67
70
}
68
71
}
69
72
You can’t perform that action at this time.
0 commit comments