Make low battery warning notification dismissable

Bug: 233282171
Test: atest SystemUITests
Change-Id: I3a9928d940213d140986bba4749423866e9fdb3d
This commit is contained in:
Wesley Wang
2022-05-20 15:59:22 +08:00
parent 512b28faf4
commit 2f11067a62

View File

@@ -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()) {