{ "id": "173411", "key": "TIMOB-26952", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-08-16T21:03:02.000+0000", "created": "2019-03-29T20:56:59.000+0000", "epic": { "id": 170944, "key": "TIMOB-25712", "name": "Support Android Next", "summary": "Android: Support Android Q", "color": { "key": "color_5" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "preferences" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-08-16T21:03:06.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": "Android Q is deprecating the \"android.preference\" library which Titanium's {{Ti.UI.Android.openPreferences()}} API uses.\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Android-method-openPreferences\r\nhttps://developer.android.com/preview/behavior-changes-all#preferences\r\n\r\nGoogle's docs suggests that \"android.preference\" library is deprecated, not removed. So, we should first check that the deprecated usage still works while targeting API Level 29.\r\n\r\nThe best solution is to change Titanium to depend on the AndroidX libraries instead of the older Support libraries per [TIMOB-26472]. This is a much bigger change that effects all modules that we may want to defer to a later date.\r\n", "attachment": [], "flagged": false, "summary": "Android: Verify that Ti.UI.Android.openPreferences() works on Android Q", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1160, "state": "closed", "name": "2019 Sprint 17", "startDate": "2019-08-12T07:59:28.950Z", "endDate": "2019-08-25T07:59:00.000Z", "completeDate": "2019-08-26T15:35:29.980Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "450543", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed the example for [Ti.UI.Android.openPreferences|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Android-method-openPreferences] functions as intended when built and ran targeting SDK API 29.", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-16T21:02:30.000+0000", "updated": "2019-08-16T21:02:30.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }