Skip to content

Commit 2bb00e4

Browse files
dependabot[bot]Okuro3499dogi
authored
all: bump androidx.core:core-ktx to 1.15.0 (fixes #2152) (#2147)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gideon Okuro <[email protected]> Co-authored-by: dogi <[email protected]>
1 parent de32c75 commit 2bb00e4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def appVersionName = (System.env.GITHUB_RUN_NUMBER ? Integer.valueOf(System.env.
55

66
android {
77
namespace 'io.treehouses.remote'
8-
compileSdkVersion 34
8+
compileSdk 35
99
defaultConfig {
1010
applicationId "io.treehouses.remote"
1111
minSdkVersion 21
@@ -89,7 +89,7 @@ dependencies {
8989
androidTestImplementation 'androidx.test:runner:1.6.2'
9090
implementation 'me.aflak.libraries:bluetooth:1.3.9'
9191
implementation 'com.caverock:androidsvg-aar:1.4'
92-
implementation "androidx.core:core-ktx:1.13.1"
92+
implementation "androidx.core:core-ktx:1.15.0"
9393
implementation 'com.android.support:multidex:1.0.3'
9494
implementation 'me.toptas.fancyshowcase:fancyshowcaseview:1.3.3'
9595
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

app/src/main/kotlin/io/treehouses/remote/network/ParseDbService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ object ParseDbService {
1616
testObject.put("description", "Connected to bluetooth")
1717
testObject.put("type", "BT Connection")
1818
testObject.put("versionCode", getVersionCode(context))
19-
testObject.put("versionName", getVersionName(context))
19+
testObject.put("versionName", getVersionName(context) ?: "")
2020
testObject.put("deviceName", Build.DEVICE)
2121
testObject.put("deviceManufacturer", Build.MANUFACTURER)
2222
testObject.put("deviceModel", Build.MODEL)

app/src/main/kotlin/io/treehouses/remote/utils/VersionUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object VersionUtils {
2020
}
2121

2222
@JvmStatic
23-
fun getVersionName(context: Context?): String {
23+
fun getVersionName(context: Context?): String? {
2424
try {
2525
return if (context != null) {
2626
val pInfo = context.packageManager.getPackageInfo(context.packageName, 0)

0 commit comments

Comments
 (0)