From 2f11067a62030a6e879600cd0a0d891df203bb64 Mon Sep 17 00:00:00 2001 From: Wesley Wang Date: Fri, 20 May 2022 15:59:22 +0800 Subject: [PATCH] Make low battery warning notification dismissable Bug: 233282171 Test: atest SystemUITests Change-Id: I3a9928d940213d140986bba4749423866e9fdb3d --- .../com/android/systemui/power/PowerNotificationWarnings.java | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java index 429f2df6b50c0..f1410b385e11a 100644 --- a/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java +++ b/packages/SystemUI/src/com/android/systemui/power/PowerNotificationWarnings.java @@ -309,7 +309,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI { .setContentText(contentText) .setContentTitle(title) .setOnlyAlertOnce(true) - .setOngoing(true) .setStyle(new Notification.BigTextStyle().bigText(contentText)) .setVisibility(Notification.VISIBILITY_PUBLIC); if (hasBatterySettings()) {