{ "id": "117177", "key": "TIMOB-14553", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15564", "description": "2013 Sprint 15 API", "name": "2013 Sprint 15 API", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "15567", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-19T21:39:16.000+0000", "created": "2013-07-15T11:43:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "density", "module_android", "qe-manualtest", "qe-testadded" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-20T19:40:23.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "On Samsung Galaxy S4, Titanium API returns Ti.Platform.displayCaps.density as `medium`.\r\n\r\nNote: It has high resolution 1080 x 1920 pixels screen and high pixel density 441 ppi.\r\n\r\nTest Case: \r\n\r\n{code}\r\nTi.API.info(\"density: \" + Ti.Platform.displayCaps.density);\r\n{code}\r\n\r\n1. Run code, should see 'density: xxhigh'", "attachment": [], "flagged": false, "summary": "Android: Galaxy S4 always returns Ti.Platform.displayCaps.density as 'medium'", "creator": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpathak", "key": "mpathak", "displayName": "Meenakshi Pathak", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Samsung Galaxy S4\r\nTi SDK 3.1.0 GA, 3.1.1 GA\r\nAndroid 4.2.2", "comment": { "comments": [ { "id": "261835", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified Ti.Platform.displayCaps.density returns \"medium\" on S4 with 3.1.1.GA.\n\nAdditional displayCaps output for this device:\n\nTi.Platform.displayCaps.density = medium\nTi.Platform.displayCaps.dpi = 480\nTi.Platform.displayCaps.platformHeight = 1920\nTi.Platform.displayCaps.platformWidth = 1080\nTi.Platform.displayCaps.xdpi = About 442\nTi.Platform.displayCaps.ydpi = About 439\nTi.Platform.displayCaps.logicalDensityFactor = 3", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-15T18:28:27.000+0000", "updated": "2013-07-15T18:28:27.000+0000" }, { "id": "262102", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/4455", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-16T21:55:39.000+0000", "updated": "2013-07-16T21:55:39.000+0000" }, { "id": "276211", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. We see 'density: xxhigh'.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201310221639\r\nTi SDK : 3.2.0.v20131022050844\r\nMac OSX : 10.8.5\r\nDevice: Samsung Galaxy S4 running android 4.2.2\r\nCLI - 3.2.0 with hash 72f7426b4ee6c2d2883c666d5b7e03906a16012f", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T19:57:50.000+0000", "updated": "2013-10-22T19:57:50.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }