Upstream version 9.37.195.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / core_internal / src / org / xwalk / core / internal / extension / api / device_capabilities / DeviceCapabilitiesStorage.java
index d830bec..7ab1a81 100644 (file)
@@ -105,7 +105,7 @@ class DeviceCapabilitiesStorage {
             JSONObject out = new JSONObject();
 
             try {
-                out.put("id", mId + 1); // Display from 1
+                out.put("id", Integer.toString(mId + 1)); // Display from 1
                 out.put("name", mName);
                 out.put("type", mType);
                 out.put("capacity", mCapacity);