updates
[webos-internals:modifications.git] / notifications / notifications-no-charging-banner-on-ac-or-touchstone.patch
1 diff --git a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
2 index 6d0a87a..692cf32 100644
3 --- a/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
4 +++ b/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js
5 @@ -2085,7 +2085,7 @@ handlePowerNotifications: function(payload) {
6                                 stageController.delegateToSceneAssistant("close");
7                         }
8                         
9 -                       if(!this.chargingBannerShown && payload.name && (payload.name == "wall" || payload.name == "puck")) {
10 +                       if(false) {
11                                 var batteryalert = $L("Charging Battery");
12                                 var soundClassName = this.onActiveCall ? "none" : "notifications";                      
13                                 this.controller.showBanner({