Skip to content

Commit

Permalink
3.013
Browse files Browse the repository at this point in the history
  • Loading branch information
WangDaYeeeeee committed Apr 15, 2021
1 parent 9eed603 commit 7ab5eea
Show file tree
Hide file tree
Showing 34 changed files with 629,688 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "wangdaye.com.geometricweather"
minSdkVersion 19
targetSdkVersion 30
versionCode 30012
versionName "3.012"
versionCode 30013
versionName "3.013"
multiDexEnabled true
ndk {
abiFilters 'armeabi', 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import android.content.Context;
import android.graphics.BitmapFactory;
import android.os.Build;
import android.text.TextUtils;

import androidx.annotation.ColorInt;
import androidx.annotation.DrawableRes;
Expand Down Expand Up @@ -94,17 +95,18 @@ public static void checkAndSendAlert(Context context,

List<Alert> alertList = new ArrayList<>();
if (oldResult != null) {
for (int i = 0; i < weather.getAlertList().size(); i ++) {
boolean newAlert = true;
for (int j = 0; j < oldResult.getAlertList().size(); j ++) {
if (weather.getAlertList().get(i).getAlertId()
== oldResult.getAlertList().get(j).getAlertId()) {
newAlert = false;
for (Alert newAlert : weather.getAlertList()) {
boolean exist = false;

for (Alert oldAlert : oldResult.getAlertList()) {
if (newAlert.getAlertId() == oldAlert.getAlertId()
|| TextUtils.equals(newAlert.getDescription(), oldAlert.getDescription())) {
exist = true;
break;
}
}
if (newAlert) {
alertList.add(weather.getAlertList().get(i));
if (!exist) {
alertList.add(newAlert);
}
}
} else {
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/30013.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<ul><li>Bug fixed. - Duplicate alert notifications</li></ul>
Binary file added release/3.013/app-gplay-release.aab
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions release/3.013/fdroid/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "wangdaye.com.geometricweather",
"variantName": "processFdroidReleaseResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 30013,
"versionName": "3.013_fdroid",
"outputFile": "GeometricWeather 3.013_fdroid.apk"
}
]
}
Binary file not shown.
18 changes: 18 additions & 0 deletions release/3.013/gplay/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "wangdaye.com.geometricweather",
"variantName": "processGplayReleaseResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 30013,
"versionName": "3.013_gplay",
"outputFile": "GeometricWeather 3.013_gplay.apk"
}
]
}
Binary file not shown.
18 changes: 18 additions & 0 deletions release/3.013/outputs/apk/pub/debug/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "wangdaye.com.geometricweather",
"variantName": "processPubDebugResources",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 30012,
"versionName": "3.012_pub",
"outputFile": "GeometricWeather 3.012_pub.apk"
}
]
}
1,144 changes: 1,144 additions & 0 deletions release/3.013/outputs/logs/manifest-merger-fdroid-release-report.txt

Large diffs are not rendered by default.

1,183 changes: 1,183 additions & 0 deletions release/3.013/outputs/logs/manifest-merger-gplay-release-report.txt

Large diffs are not rendered by default.

1,198 changes: 1,198 additions & 0 deletions release/3.013/outputs/logs/manifest-merger-pub-debug-report.txt

Large diffs are not rendered by default.

1,189 changes: 1,189 additions & 0 deletions release/3.013/outputs/logs/manifest-merger-pub-release-report.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 7ab5eea

Please sign in to comment.