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

Commit 0439cd07 authored by Evan Laird's avatar Evan Laird
Browse files

Flip bit to allow dismissal of fgs notifications

Bug: 149420946
Test: atest SystemUITests; manual
Change-Id: I4677b2d84c0b4e94d8359e95aa73e9cb476360a7
parent 019ff80d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ class ForegroundServiceDismissalFeatureController @Inject constructor(
private fun isEnabled(proxy: DeviceConfigProxy): Boolean {
    if (sIsEnabled == null) {
        sIsEnabled = proxy.getBoolean(
                DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_ALLOW_FGS_DISMISSAL, false)
                DeviceConfig.NAMESPACE_SYSTEMUI, NOTIFICATIONS_ALLOW_FGS_DISMISSAL, true)
    }

    return sIsEnabled!!