14 New, 1 Updated patches
[webos-internals:shivaramv-modifications.git] / top-bar / top-bar-palm-carrier-string.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 6cb3941..8c97774 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 @@ -547,7 +547,7 @@ handlePowerQueryNotifications: function(payload){
6                                 $('rssi').className = "flight-mode";
7                         }
8                         else {
9 -                               this.carrierText = $L("Phone offline");
10 +                               this.carrierText = "Palm";
11                                 $('carrier').innerHTML = this.carrierText;
12                         }                                                       
13                         $('roaming').hide();
14 @@ -573,7 +573,7 @@ handleNetworkStatusQueryNotification: function(payload) {
15                         if(this.demoBuild)
16                                 this.carrierText = "Palm";
17                         else    
18 -                               this.carrierText = $L(payload.extended.networkName.escapeHTML());
19 +                               this.carrierText = "Palm";
20                         $('carrier').innerHTML = this.carrierText;              
21                         if(payload.extended.registration == 'home') {                   
22                                 $('roaming').hide();
23 @@ -916,7 +916,7 @@ handletelephonyNotifications: function(payload) {
24                                 this.updateAirplaneModeProgress('phone');
25                         }
26                         else {
27 -                               this.carrierText = $L("Phone offline");
28 +                               this.carrierText = "Palm";
29                                 $('carrier').innerHTML = this.carrierText;
30                         }
31                         $('datanet').className = 'off';
32 @@ -939,7 +939,7 @@ handletelephonyNotifications: function(payload) {
33                                 if(this.demoBuild)
34                                         this.carrierText = "Palm";
35                                 else    
36 -                                       this.carrierText = $L(networkMsg.networkName.escapeHTML());
37 +                                       this.carrierText = "Palm";
38                                 $('carrier').innerHTML = this.carrierText;
39                                 this.simlocked = false;
40