28 Updates for Patches
[webos-internals:modifications.git] / notifications / notifications-just-charge-by-default.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 6fdbb39..61a8e7c 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 @@ -2174,7 +2174,7 @@ storageHandleNotifications: function(payload) {
6                 this.isUSBConnected = true;
7                 if (!this.onActiveCall) {
8                         if (this.canUSBAlertDisplayed()) 
9 -                               this.showStorageModeAlert();
10 +                               this.createUSBDashboard(true);
11                         else 
12                                 this.createUSBDashboard();
13                 }
14 @@ -2308,7 +2308,7 @@ isUSBCableConnected: function() {
15                                         if (this.updateAvailable) 
16                                                 this.createUSBDashboard();
17                                         else 
18 -                                               this.showStorageModeAlert();
19 +                                               this.createUSBDashboard(true);
20                                 }                                                       
21                         }
22                 }.bind(this),