Skip to content

Commit 938c194

Browse files
committed
fix: timeout api version
1 parent fb75b6c commit 938c194

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/to/bitkit/androidServices/LightningNodeService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class LightningNodeService : Service() {
153153
super.onDestroy()
154154
}
155155

156-
@RequiresApi(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
156+
@RequiresApi(Build.VERSION_CODES.VANILLA_ICE_CREAM)
157157
override fun onTimeout(startId: Int, fgsType: Int) {
158158
Logger.warn("Foreground service timeout reached", context = TAG)
159159
serviceScope.launch {

0 commit comments

Comments
 (0)