projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf306d
)
[Systeminfo] Fixed SIM members wrong type
author
Piotr Kosko
<p.kosko@samsung.com>
Tue, 31 Mar 2015 11:33:44 +0000
(13:33 +0200)
committer
Pawel Andruszkiewicz
<p.andruszkie@samsung.com>
Wed, 1 Apr 2015 08:04:08 +0000
(17:04 +0900)
Change-Id: Ic422ea05bfb7c53775e2ffa64deaaea6b525280a
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/systeminfo/systeminfo_api.js
patch
|
blob
|
history
diff --git
a/src/systeminfo/systeminfo_api.js
b/src/systeminfo/systeminfo_api.js
index 037b499378c14d14a6e58e01c1f8fc3ade3179f7..0e6cbf221a02267080d9ded755046619a72af1c9 100644
(file)
--- a/
src/systeminfo/systeminfo_api.js
+++ b/
src/systeminfo/systeminfo_api.js
@@
-604,7
+604,7
@@
function SystemInfoSIM(data) {
mcc : {
get: function() {
xwalk.utils.checkPrivilegeAccess(_PRIVILEGE_SYSTEM);
- return
data.mcc
;
+ return
Number(data.mcc)
;
},
set: function() {},
enumerable: true
@@
-612,7
+612,7
@@
function SystemInfoSIM(data) {
mnc : {
get: function() {
xwalk.utils.checkPrivilegeAccess(_PRIVILEGE_SYSTEM);
- return
data.mnc
;
+ return
Number(data.mnc)
;
},
set: function() {},
enumerable: true