You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update accessibility dialog text and button functionality
- Changed the descriptive text in the accessibility info card.
- Added a 'Don't activate and close' button to the card, which closes the app.
- Modified the Send button: when accessibility is off, it now shows a toast message 'The Accessibility Service is not activated' instead of opening settings.
Copy file name to clipboardExpand all lines: app/src/main/kotlin/com/google/ai/sample/feature/multimodal/PhotoReasoningScreen.kt
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -350,12 +350,16 @@ fun PhotoReasoningScreen(
350
350
Column(modifier =Modifier.padding(16.dp)) {
351
351
Text("Accessibility Service is not enabled", color =MaterialTheme.colorScheme.error, style =MaterialTheme.typography.titleMedium)
352
352
Spacer(modifier =Modifier.height(8.dp))
353
-
Text("The click functionality requires the Accessibility Service. Please enable it in the settings.", color =MaterialTheme.colorScheme.error)
353
+
Text("In order for a vision LLM to be able to operate the screen (click, scroll) using this app, the Accessibility service authorization is required, which must be activated in the settings.", color =MaterialTheme.colorScheme.error)
0 commit comments