Skip to content

Automation: Better return behaviour after accessibility operations - #1156

Merged
d4rken merged 1 commit into
mainfrom
acs_return_behavior
May 1, 2024
Merged

Automation: Better return behaviour after accessibility operations#1156
d4rken merged 1 commit into
mainfrom
acs_return_behavior

Conversation

@d4rken

@d4rken d4rken commented May 1, 2024

Copy link
Copy Markdown
Member

Instead of back-button presses (i.e. GLOBAL_ACTION_BACK) that don't work reliably on Android 14 anymore, we use intent navigation to return to SD Maid at the end. So far, this proved reliable on API29, API31 and API34. Opening the system settings activity was quick, and returning to SD Maid was quick too. No extra activity remained in the task-switcher.

Instead of back-button presses (i.e. `GLOBAL_ACTION_BACK`) that don't work reliably on Android 14 anymore, we use intent navigation to return to SD Maid at the end.
So far, this proved reliable on API29, API31 and API34.
Opening the system settings activity was quick, and returning to SD Maid was quick too. No extra activity remained in the task-switcher.
@d4rken d4rken added bug Something isn't working as expected enhancement New feature, request, improvement or optimization Automation Accessibility service related (ACS) api: 34 A14 (Upside Down Cake) labels May 1, 2024
@d4rken
d4rken merged commit 1f9c090 into main May 1, 2024
@d4rken
d4rken deleted the acs_return_behavior branch May 1, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: 34 A14 (Upside Down Cake) Automation Accessibility service related (ACS) bug Something isn't working as expected enhancement New feature, request, improvement or optimization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant