mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Fix regression introduced by 737578debc
With many thanks to https://github.com/80tf3262p8 who spotted the error closes #975
This commit is contained in:
parent
8ba56db786
commit
831303aea8
@ -1,5 +1,8 @@
|
|||||||
### Changelog
|
### Changelog
|
||||||
|
|
||||||
|
#### Version next
|
||||||
|
* Fix notification deletion regression
|
||||||
|
|
||||||
#### Version 0.24.4
|
#### Version 0.24.4
|
||||||
* Amazfit Bip: Fix language setting on new firmwares
|
* Amazfit Bip: Fix language setting on new firmwares
|
||||||
|
|
||||||
|
@ -367,7 +367,7 @@ public class NotificationListener extends NotificationListenerService {
|
|||||||
Prefs prefs = GBApplication.getPrefs();
|
Prefs prefs = GBApplication.getPrefs();
|
||||||
if (prefs.getBoolean("autoremove_notifications", false)) {
|
if (prefs.getBoolean("autoremove_notifications", false)) {
|
||||||
LOG.info("notification removed, will ask device to delete it");
|
LOG.info("notification removed, will ask device to delete it");
|
||||||
GBApplication.deviceService().onDeleteNotification(sbn.getPackageName().hashCode() * 31 + sbn.getId());
|
GBApplication.deviceService().onDeleteNotification((int) sbn.getPostTime());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<changelog>
|
<changelog>
|
||||||
|
<release version="next">
|
||||||
|
<change>Fix notification deletion regression</change>
|
||||||
|
</release>
|
||||||
<release version="0.24.4" versioncode="121">
|
<release version="0.24.4" versioncode="121">
|
||||||
<change>Amazfit Bip: Fix language setting on new firmwares</change>
|
<change>Amazfit Bip: Fix language setting on new firmwares</change>
|
||||||
</release>
|
</release>
|
||||||
|
Loading…
Reference in New Issue
Block a user