From 0439cd07052e00b782dff8105899f2f50d98ad04 Mon Sep 17 00:00:00 2001 From: Evan Laird Date: Wed, 4 Mar 2020 20:46:51 -0500 Subject: [PATCH] Flip bit to allow dismissal of fgs notifications Bug: 149420946 Test: atest SystemUITests; manual Change-Id: I4677b2d84c0b4e94d8359e95aa73e9cb476360a7 --- .../ForegroundServiceDismissalFeatureController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/ForegroundServiceDismissalFeatureController.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/ForegroundServiceDismissalFeatureController.kt index b1d6b40fcc1ee..571a85440b89f 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/ForegroundServiceDismissalFeatureController.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/ForegroundServiceDismissalFeatureController.kt @@ -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!! -} \ No newline at end of file +}