{ "id": "124878", "key": "AC-1937", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-01-23T06:01:02.000+0000", "created": "2014-01-16T19:32:40.000+0000", "labels": [ "android", "displaycaps", "dpi" ], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:51.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Ti.Platform.displayCaps.density is returning the value 160 on the Nexus 5 device running android 4.4.2 while the correct one should be 445.\r\n\r\n[INFO] : Titanium.Platform.model: Nexus 5\r\n[INFO] : Ti.Platform.displayCaps.density: medium\r\n[INFO] : Ti.Platform.displayCaps.dpi: 160\r\n[INFO] : Ti.Platform.displayCaps.platformHeight: 592\r\n[INFO] : Ti.Platform.displayCaps.platformWidth: 360\r\n[INFO] : Ti.Platform.displayCaps.xdpi: 147.48367309570312\r\n[INFO] : Ti.Platform.displayCaps.ydpi: 147.78167724609375\r\n[INFO] : Ti.Platform.displayCaps.logicalDensityFactor: 1\r\n[INFO] : Ti.Platform.displayCaps.logicalDensityFactor: 1\r\n\r\n", "attachment": [], "flagged": false, "summary": "Ti.Platform.displayCaps.density returning wrong value on Nexus 5", "creator": { "name": "joniand", "key": "joniand", "displayName": "Jonian Dervishi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joniand", "key": "joniand", "displayName": "Jonian Dervishi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 4.4, Nexus 5", "comment": { "comments": [ { "id": "289063", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~joniand] We have not been able to reproduce this error. Ti.Platform.displayCaps.density is returning the correct value.\n\n[INFO] : Titanium.Platform.model: Nexus 5\n[INFO] : Ti.Platform.displayCaps.density: xxhigh\n[INFO] : Ti.Platform.displayCaps.dpi: 480\n[INFO] : Ti.Platform.displayCaps.platformHeight: 1776\n[INFO] : Ti.Platform.displayCaps.platformWidth: 1080\n\nPlease let us know if this is still as issue for you.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T18:32:54.000+0000", "updated": "2014-01-21T18:32:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }