From 1fae5e3708fe47c2a2b871cf807b0dcc0d00b369 Mon Sep 17 00:00:00 2001 From: Piotr Kosko Date: Tue, 31 Mar 2015 13:33:44 +0200 Subject: [PATCH] [Systeminfo] Fixed SIM members wrong type Change-Id: Ic422ea05bfb7c53775e2ffa64deaaea6b525280a Signed-off-by: Piotr Kosko --- src/systeminfo/systeminfo_api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/systeminfo/systeminfo_api.js b/src/systeminfo/systeminfo_api.js index 037b4993..0e6cbf22 100644 --- 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 -- 2.34.1