Skip to content

Commit

Permalink
all: bump androidx.core:core-ktx to 1.15.0 (fixes #2152) (#2147)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people authored Nov 12, 2024
1 parent de32c75 commit 2bb00e4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def appVersionName = (System.env.GITHUB_RUN_NUMBER ? Integer.valueOf(System.env.

android {
namespace 'io.treehouses.remote'
compileSdkVersion 34
compileSdk 35
defaultConfig {
applicationId "io.treehouses.remote"
minSdkVersion 21
Expand Down Expand Up @@ -89,7 +89,7 @@ dependencies {
androidTestImplementation 'androidx.test:runner:1.6.2'
implementation 'me.aflak.libraries:bluetooth:1.3.9'
implementation 'com.caverock:androidsvg-aar:1.4'
implementation "androidx.core:core-ktx:1.13.1"
implementation "androidx.core:core-ktx:1.15.0"
implementation 'com.android.support:multidex:1.0.3'
implementation 'me.toptas.fancyshowcase:fancyshowcaseview:1.3.3'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object ParseDbService {
testObject.put("description", "Connected to bluetooth")
testObject.put("type", "BT Connection")
testObject.put("versionCode", getVersionCode(context))
testObject.put("versionName", getVersionName(context))
testObject.put("versionName", getVersionName(context) ?: "")
testObject.put("deviceName", Build.DEVICE)
testObject.put("deviceManufacturer", Build.MANUFACTURER)
testObject.put("deviceModel", Build.MODEL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object VersionUtils {
}

@JvmStatic
fun getVersionName(context: Context?): String {
fun getVersionName(context: Context?): String? {
try {
return if (context != null) {
val pInfo = context.packageManager.getPackageInfo(context.packageName, 0)
Expand Down

0 comments on commit 2bb00e4

Please sign in to comment.