keymapperorg / KeyMapper

**DEVELOPMENT STOPPED**.📱 An Android app that change what the buttons do on your devices!
http://docs.keymapper.club
GNU General Public License v3.0
991 stars 149 forks source link

Add direct boot support #919

Open GL513 opened 2 years ago

GL513 commented 2 years ago

Developer TODO (don't remove)

https://developer.android.com/training/articles/direct-boot

I would imagine all sub-headers need to be supported for full funtionality.

sds100 commented 2 years ago

Can you test whether this is actually an issue? Does the system even start the accessibility services before it is has been unlocked?

GL513 commented 2 years ago

Can you test whether this is actually an issue? Does the system even start the accessibility services before it is has been unlocked?

No, it doesn't start before its unlocked straight after boot.

xanth0k1d#1936 had said something about this in the discord. Also, to save backups automatically, you may need to have access to encrypted storage. https://developer.android.com/training/articles/direct-boot#access

sds100 commented 2 years ago

Oh okay. I'll investigate the service not starting. Backups are only saved automatically when the mappings are modified so this won't be done anyway before it is unlocked.

GL513 commented 2 years ago

1027