enioka-Haute-Couture / enioka_scan

Integration library for all your Android hardware barcode scanner integration needs
Apache License 2.0
52 stars 4 forks source link

Add DW profile check on every notification #172 #177

Closed DaSpood closed 7 months ago

DaSpood commented 7 months ago

Until now the active profile was only checked for PROFILE_SWITCH notifications, so if for any reason the profile changed silently it would not be detected by the app. Now every notification will be checked, this may cause more switch requests than necessary but it should at least prevent getting locked out of the wanted profile until the next resume() call.