Closed
Bug 1040589
Opened 11 years ago
Closed 8 years ago
[tarako]show wrong operator name on drop-down menu of status bar and looked screen.
Categories
(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: xianmao.meng, Unassigned)
Details
Attachments
(2 files)
|
10.94 KB,
text/plain
|
Details | |
|
7.61 KB,
patch
|
Details | Diff | Splinter Review |
steps to reproduce:
a)Insert sim card(Grameenphone 470-01) and sim card camp properly.
b)tarako shows GP instead of Grameenphone on drop-down menu of status bar(developed by sprd) and looked screen.
Besides,many other operators also show the unfriendly name,all this operator name comes from network.
we should make a operator name table,and show the friendly operator name from the table.
The follow attachment is the plmn.json file which is used to store friendly operator name.
This patch is made to show the operator name from plmn.json for drop-down menu of status bar and looked screen.
Attachment #8458486 -
Flags: review?(alive)
Comment 4•11 years ago
|
||
Comment on attachment 8458486 [details] [diff] [review]
operator_name.patch
Review of attachment 8458486 [details] [diff] [review]:
-----------------------------------------------------------------
Too many lint errors.
No any tests.
I don't know how to review it. Sorry.
::: apps/system/js/lockscreen_connection_info_manager.js
@@ +258,4 @@
> return;
> }
>
> + var jsonLoader = function loadJSON(href, callback) {
lint
@@ +258,5 @@
> return;
> }
>
> + var jsonLoader = function loadJSON(href, callback) {
> + if (!callback)
{
@@ +259,5 @@
> }
>
> + var jsonLoader = function loadJSON(href, callback) {
> + if (!callback)
> + return;
}
@@ +260,5 @@
>
> + var jsonLoader = function loadJSON(href, callback) {
> + if (!callback)
> + return;
> + console.log("--> mxm_function loadJSON...href now is " + href);
don't log anything by default.
::: apps/system/js/operator_name.js
@@ +1,5 @@
> +'use strict';
> +
> +var operatorName = {
> +
> +PLMN_FILE: '/shared/resources/plmn.json',
lint
@@ +3,5 @@
> +var operatorName = {
> +
> +PLMN_FILE: '/shared/resources/plmn.json',
> +
> +jsonLoader:function loadJSON(href, callback) {
why do you implement the same function again?
Attachment #8458486 -
Flags: review?(alive)
Comment 5•11 years ago
|
||
IMHO the patch seems better to stay in the local branch. We should not overwrite the original service provider names at will.
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•