posix4e / puppet

MIT License
8 stars 8 forks source link

Android app should not open settings page if accessibility permission is already given #33

Closed vkolgi closed 1 year ago

vkolgi commented 1 year ago

Android app by default now opens Android settings page irrespective of whether the required permission is granted or not. Rather it should check if permission is granted and only open the Android settings if required.

vkolgi commented 1 year ago

Since Accessibility Service cannot be probed by a regular android app (only system apps can), we will not be able to query if accessibility service is on or not using Secure String. #36 fixes this issue by not switching to settings page everytime the android app is open. New button takes care of opening the settings page on demand.