Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f67d573 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Flip bit to allow dismissal of fgs notifications" into rvc-dev am: cb016498 am: 30b5ddab

Change-Id: I8b08dc60aaf9ab109832b541eb5c50a4244ef835
parents 420db64b 30b5ddab
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -42,7 +42,7 @@ class ForegroundServiceDismissalFeatureController @Inject constructor(
private fun isEnabled(proxy: DeviceConfigProxy): Boolean {
private fun isEnabled(proxy: DeviceConfigProxy): Boolean {
    if (sIsEnabled == null) {
    if (sIsEnabled == null) {
        sIsEnabled = proxy.getBoolean(
        sIsEnabled = proxy.getBoolean(
                DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_ALLOW_FGS_DISMISSAL, false)
                DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_ALLOW_FGS_DISMISSAL, true)
    }
    }


    return sIsEnabled!!
    return sIsEnabled!!