Merge "Make low battery warning notification dismissable" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5470b037a6
@@ -307,7 +307,6 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
|
|||||||
.setContentText(contentText)
|
.setContentText(contentText)
|
||||||
.setContentTitle(title)
|
.setContentTitle(title)
|
||||||
.setOnlyAlertOnce(true)
|
.setOnlyAlertOnce(true)
|
||||||
.setOngoing(true)
|
|
||||||
.setStyle(new Notification.BigTextStyle().bigText(contentText))
|
.setStyle(new Notification.BigTextStyle().bigText(contentText))
|
||||||
.setVisibility(Notification.VISIBILITY_PUBLIC);
|
.setVisibility(Notification.VISIBILITY_PUBLIC);
|
||||||
if (hasBatterySettings()) {
|
if (hasBatterySettings()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user