mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-23 18:36:50 +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
|
||||
|
||||
#### Version next
|
||||
* Fix notification deletion regression
|
||||
|
||||
#### Version 0.24.4
|
||||
* Amazfit Bip: Fix language setting on new firmwares
|
||||
|
||||
|
@ -367,7 +367,7 @@ public class NotificationListener extends NotificationListenerService {
|
||||
Prefs prefs = GBApplication.getPrefs();
|
||||
if (prefs.getBoolean("autoremove_notifications", false)) {
|
||||
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"?>
|
||||
<changelog>
|
||||
<release version="next">
|
||||
<change>Fix notification deletion regression</change>
|
||||
</release>
|
||||
<release version="0.24.4" versioncode="121">
|
||||
<change>Amazfit Bip: Fix language setting on new firmwares</change>
|
||||
</release>
|
||||
|
Loading…
Reference in New Issue
Block a user