From 3dc1dae52e3c69b45387f1df288581fb8a818de5 Mon Sep 17 00:00:00 2001 From: acrespo Date: Mon, 18 Nov 2024 12:45:20 -0300 Subject: [PATCH] Apollo: Release source code for 52.4 --- android/CHANGELOG.md | 7 +++++ .../os/BackgroundExecutionMetricsProvider.kt | 31 ++----------------- android/apolloui/build.gradle | 4 +-- 3 files changed, 11 insertions(+), 31 deletions(-) diff --git a/android/CHANGELOG.md b/android/CHANGELOG.md index 651919f..63a3b43 100644 --- a/android/CHANGELOG.md +++ b/android/CHANGELOG.md @@ -6,6 +6,13 @@ follow [https://changelog.md/](https://changelog.md/) guidelines. ## [Unreleased] +## [52.4] - 2024-10-18 + +### FIXED + +- Removed some background notification processing reliability improvements that were causing +errors and crashes + ## [52.3] - 2024-10-08 ### ADDED diff --git a/android/apollo/src/main/java/io/muun/apollo/data/os/BackgroundExecutionMetricsProvider.kt b/android/apollo/src/main/java/io/muun/apollo/data/os/BackgroundExecutionMetricsProvider.kt index f080173..4b9e7ff 100644 --- a/android/apollo/src/main/java/io/muun/apollo/data/os/BackgroundExecutionMetricsProvider.kt +++ b/android/apollo/src/main/java/io/muun/apollo/data/os/BackgroundExecutionMetricsProvider.kt @@ -28,7 +28,6 @@ class BackgroundExecutionMetricsProvider @Inject constructor( private val systemCapabilitiesProvider: SystemCapabilitiesProvider, private val dateTimeZoneProvider: DateTimeZoneProvider, private val localeInfoProvider: LocaleInfoProvider, - private val trafficStatsInfoProvider: TrafficStatsInfoProvider, ) { private val powerManager: PowerManager by lazy { @@ -73,20 +72,7 @@ class BackgroundExecutionMetricsProvider @Inject constructor( connectivityInfoProvider.proxySocks, dateTimeZoneProvider.autoDateTime, dateTimeZoneProvider.autoTimeZone, - dateTimeZoneProvider.timeZoneId, - localeInfoProvider.dateFormat, - localeInfoProvider.regionCode, - dateTimeZoneProvider.calendarIdentifier, - trafficStatsInfoProvider.androidMobileRxTraffic, - telephonyInfoProvider.simOperatorId, - telephonyInfoProvider.simOperatorName, - telephonyInfoProvider.mobileNetworkId, - telephonyInfoProvider.mobileNetworkName, - telephonyInfoProvider.mobileRoaming, - telephonyInfoProvider.mobileDataStatus, - telephonyInfoProvider.mobileRadioType, - telephonyInfoProvider.mobileDataActivity, - connectivityInfoProvider.networkLink + dateTimeZoneProvider.timeZoneId ) @Suppress("ArrayInDataClass") @@ -128,20 +114,7 @@ class BackgroundExecutionMetricsProvider @Inject constructor( private val proxySocks: String, private val autoDateTime: Int, private val autoTimeZone: Int, - private val timeZoneId: String, - private val androidDateFormat: String, - private val regionCode: String, - private val androidCalendarIdentifier: String, - private val androidMobileRxTraffic: Long, - private val androidSimOperatorId: String, - private val androidSimOperatorName: String, - private val androidMobileOperatorId: String, - private val mobileOperatorName: String, - private val androidMobileRoaming: Boolean, - private val androidMobileDataStatus: Int, - private val androidMobileRadioType: Int, - private val androidMobileDataActivity: Int, - private val androidNetworkLink: ConnectivityInfoProvider.NetworkLink? + private val timeZoneId: String ) /** diff --git a/android/apolloui/build.gradle b/android/apolloui/build.gradle index e1599e6..7848957 100644 --- a/android/apolloui/build.gradle +++ b/android/apolloui/build.gradle @@ -94,8 +94,8 @@ android { applicationId "io.muun.apollo" minSdk 19 targetSdk 34 - versionCode 1203 - versionName "52.3" + versionCode 1204 + versionName "52.4" // Needed to make sure these classes are available in the main DEX file for API 19 // See: https://spin.atomicobject.com/2018/07/16/support-kitkat-multidex/