From b228c7b061706854085a8fff010fef59af442a7e Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Thu, 15 Nov 2018 20:30:15 +0100 Subject: [PATCH] bump version, add changelogs --- CHANGELOG.md | 5 +++++ app/build.gradle | 4 ++-- .../gadgetbridge/externalevents/NotificationListener.java | 3 ++- app/src/main/res/xml/changelog_master.xml | 5 +++++ fastlane/metadata/android/en-US/changelogs/141.txt | 3 +++ 5 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/141.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index f7ba442f8..dd52e4c50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ### Changelog +#### Version 0.31.2 +* Pebble: Fix a regression that caused non-working mute, open and dismiss actions +* Fix setting language to Czech manually +* Ignore summary notification from K-9 Mail (caused notification spamming) + #### Version 0.31.1 * Pebble: Fix crash when no canned replies have been set * Pebble: Let the firmware show localized default canned replies if none have been set diff --git a/app/build.gradle b/app/build.gradle index 31c751c08..4a2dc6f50 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,8 +25,8 @@ android { targetSdkVersion 27 // Note: always bump BOTH versionCode and versionName! - versionName "0.31.1" - versionCode 140 + versionName "0.31.2" + versionCode 141 vectorDrawables.useSupportLibrary = true } buildTypes { diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java index 023541d5a..fc01b3e41 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java @@ -342,7 +342,8 @@ public class NotificationListener extends NotificationListenerService { muteAction.type = NotificationSpec.Action.TYPE_SYNTECTIC_MUTE; notificationSpec.attachedActions.add(muteAction); - mNotificationHandleLookup.add(notificationSpec.getId(), sbn.getPostTime()); // for both DISMISS and OPEN + mNotificationHandleLookup.add(notificationSpec.getId(), sbn.getId()); // for both DISMISS and OPEN + //getPostTime()); // for both DISMISS and OPEN mPackageLookup.add(notificationSpec.getId(), sbn.getPackageName()); // for MUTE notificationBurstPrevention.put(source, cur_time); diff --git a/app/src/main/res/xml/changelog_master.xml b/app/src/main/res/xml/changelog_master.xml index fe2ed01f2..338a9430b 100644 --- a/app/src/main/res/xml/changelog_master.xml +++ b/app/src/main/res/xml/changelog_master.xml @@ -1,5 +1,10 @@ + + Pebble: Fix a regression that caused non-working mute, open and dismiss actions + Fix setting language to Czech manually + Ignore summary notification from K-9 Mail (caused notification spamming) + Pebble: Fix crash when no canned replies have been set Pebble: Let the firmware show localized default canned replies if none have been set diff --git a/fastlane/metadata/android/en-US/changelogs/141.txt b/fastlane/metadata/android/en-US/changelogs/141.txt new file mode 100644 index 000000000..57ff6816b --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/141.txt @@ -0,0 +1,3 @@ +* Pebble: Fix a regression that caused non-working mute, open and dismiss actions +* Fix setting language to Czech manually +* Ignore summary notification from K-9 Mail (caused notification spamming)