Skip to content

Commit c8f9015

Browse files
Add files via upload
1 parent b5de745 commit c8f9015

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/kotlin/com/google/ai/sample/ScreenOperatorAccessibilityService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,8 @@ class ScreenOperatorAccessibilityService : AccessibilityService() {
14001400
// Check if root node is available
14011401
if (rootNode == null) {
14021402
Log.e(TAG, "Root node is null, cannot close screenshot notification")
1403-
return
1403+
showToast("Fehler: Root-Knoten ist nicht verfügbar", true)
1404+
return@postDelayed
14041405
}
14051406

14061407
// List of possible button texts for "Close" in different languages and ROMs

0 commit comments

Comments
 (0)