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

Commit cb016498 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Flip bit to allow dismissal of fgs notifications" into rvc-dev

parents 130b6bec 0439cd07
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!!