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
After granting accessibility permission and using the app for a while,
the UI incorrectly shows the accessibility service as disabled,
even though it is still enabled in system settings.
screen-20260527-140552.mp4
Root cause
isAccessibilityEnabled() is only re-checked on ON_RESUME.
If the Compose state is reset (e.g. activity recreation, memory pressure),
the stale value (false) is never corrected until the user leaves and returns.
Suggested fix
Use AccessibilityManager.getEnabledAccessibilityServiceList()
instead of string-parsing Settings.Secure — more reliable API.
Add a ContentObserver on ENABLED_ACCESSIBILITY_SERVICES
to detect changes in real-time, not only on resume.
Describe the bug
After granting accessibility permission and using the app for a while,
the UI incorrectly shows the accessibility service as disabled,
even though it is still enabled in system settings.
screen-20260527-140552.mp4
Root cause
isAccessibilityEnabled() is only re-checked on ON_RESUME.
If the Compose state is reset (e.g. activity recreation, memory pressure),
the stale value (false) is never corrected until the user leaves and returns.
Suggested fix
Use AccessibilityManager.getEnabledAccessibilityServiceList()
instead of string-parsing Settings.Secure — more reliable API.
Add a ContentObserver on ENABLED_ACCESSIBILITY_SERVICES
to detect changes in real-time, not only on resume.