Skip to content

Commit

Permalink
Update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
NiroDeveloper committed Jun 2, 2024
1 parent 47beca7 commit 8199f2c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class BluetoothServiceCallback(
val newHidCallback = HidDeviceCallback(registerHidDevice, serviceStateListener, serviceStateListener)

try {
// Somehow always returns false (unsuccessful).
registerHidDevice.registerApp(
BluetoothConstants.SPD_RECORD,
null,
Expand Down Expand Up @@ -127,7 +128,7 @@ class BluetoothServiceCallback(
radarDeviceRegister[deviceAddress] = newConnectionState
}

val sleepDelay = if (radarDeviceRegister.isEmpty()) 1_000L else 10_000L
val sleepDelay = if (isDeviceConnected()) 10_000L else 1_000L
Thread.sleep(sleepDelay)
}
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
agp = "8.3.2"
agp = "8.4.1"
kotlin = "1.9.23"
playServicesWearable = "18.1.0"
playServicesWearable = "18.2.0"
composeBom = "2024.05.00"
composeMaterial = "1.3.1"
composeFoundation = "1.3.1"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sat Mar 30 20:39:47 CET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 8199f2c

Please sign in to comment.