We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2506d7 commit cd800c4Copy full SHA for cd800c4
app/src/main/kotlin/com/ztc1997/fingerprint2sleep/service/FPQAService.kt
@@ -334,7 +334,7 @@ class FPQAService : Service() {
334
fun startForegroundIfSet() {
335
if (isRunning && defaultDPreference.getPrefBoolean(SettingsActivity.PREF_FOREGROUND_SERVICE, false)) {
336
337
- createNotificationChannel()
+ configuration(fromSdk = Build.VERSION_CODES.O) { createNotificationChannel() }
338
339
val notification = if (isError)
340
generateNotification(getString(R.string.notification_content_text_retry) + errString, true)
0 commit comments