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

This commit is contained in:
TreeHugger Robot
2020-03-05 16:48:58 +00:00
committed by Android (Google) Code Review

View File

@@ -42,8 +42,8 @@ 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!!
}
}