From 4915533a94aaa1f9137a03ae4389f6a809b8655b Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Thu, 4 Jul 2024 20:16:15 -0700 Subject: [PATCH] Bump targetSdk to 31 (Android 12) --- app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 9 ++++++--- .../network/NetworkServiceManager.kt | 3 +-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 29be2c3..66462cb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,7 @@ android { defaultConfig { applicationId "cy.agorise.bitsybitshareswallet" minSdk 21 - targetSdk 30 + targetSdk 31 versionCode 15 versionName "0.17.2-beta" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 11caa05..6f2b6ee 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,8 +3,12 @@ xmlns:tools="http://schemas.android.com/tools" package="cy.agorise.bitsybitshareswallet"> - + + + + + - - \ No newline at end of file + diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/network/NetworkServiceManager.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/network/NetworkServiceManager.kt index f76704e..06bffce 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/network/NetworkServiceManager.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/network/NetworkServiceManager.kt @@ -12,7 +12,7 @@ import cy.agorise.graphenej.stats.ExponentialMovingAverage * * * The basic idea here is to keep track of the sequence of activity life cycle callbacks so that we - * can infer when the user has left the app and the node connection can be salfely shut down. + * can infer when the user has left the app and the node connection can be safely shut down. */ class NetworkServiceManager(nodes: List) : ActivityLifecycleCallbacks { /** @@ -68,5 +68,4 @@ class NetworkServiceManager(nodes: List) : ActivityLifecycleCallbacks { */ private const val DISCONNECT_DELAY = 1500L } - } \ No newline at end of file