{ "id": "85651", "key": "TIMOB-7456", "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": "12097", "description": "", "name": "Sprint 2012-05", "archived": true, "released": true, "releaseDate": "2012-03-11" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-05T06:34:52.000+0000", "created": "2012-01-27T14:54:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_geolocation", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "14846", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "65582", "key": "TIDOC-227", "fields": { "summary": "APIDoc: Android: Titanium.Geolocation.locationServicesEnabled always returns true", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15639", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86154", "key": "TIMOB-7565", "fields": { "summary": "Android: refactor Geolocation module to support expanded Android functionality", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-07-05T15:23:09.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": "A new location provider, PASSIVE_PROVIDER, is introduced since API 8 (2.2) (http://developer.android.com/reference/android/location/LocationManager.html#PASSIVE_PROVIDER). We should add a constant for this provider, and update the platform behavior, such as TiLocationHelper.isValidProvider(String). Need further investigation to see whether there are more methods to be updated.", "attachment": [], "flagged": false, "summary": "Android: Update TiLocationHelper.isValidProvider(String) since PASSIVE_PROVIDER is introduced", "creator": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "183379", "author": { "name": "ssoniat", "key": "ssoniat", "displayName": "Stephanie Soniat", "active": true, "timeZone": "America/Indiana/Knox" }, "body": "Would it be possible to expose isValidProvider as public or provide some sort of public function to allow us to check individual providers? I'd love to be able to find out if GPS or Network are turned on/off, since Titanium.Geolocation.locationServicesEnabled always returns true because of the PASSIVE_PROVIDER.", "updateAuthor": { "name": "ssoniat", "key": "ssoniat", "displayName": "Stephanie Soniat", "active": true, "timeZone": "America/Indiana/Knox" }, "created": "2012-02-16T07:29:24.000+0000", "updated": "2012-02-16T07:29:24.000+0000" }, { "id": "187193", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Test app.js:\r\n{code}\r\nTi.API.info(\"Location services available: \" + Ti.Geolocation.locationServicesEnabled);\r\n{code}\r\n\r\nIf you turn off GPS and network (airplane mode) in the device settings, this line should be true. Otherwise under with either of them on this value should be true.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-19T14:26:15.000+0000", "updated": "2012-03-19T14:26:15.000+0000" }, { "id": "187204", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with 2.0.0.v20120319003254 and Titanium Studio, build: 2.0.0.201203182248. Airplane mode plus turning off GPS and Wireless positioning returned \"false\".", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T14:44:41.000+0000", "updated": "2012-03-19T14:44:41.000+0000" }, { "id": "201546", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label.", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-05T05:55:22.000+0000", "updated": "2012-07-05T05:55:22.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }