{ "id": "133532", "key": "TIMOB-17358", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-11-12T18:30:25.000+0000", "created": "2014-07-22T16:23:47.000+0000", "epic": { "id": 134539, "key": "TIMOB-17487", "name": "Android: Support Android-L Functionality", "summary": "Android: Support Android 5.0 Functionality", "color": { "key": "color_7" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [ "android-l" ], "versions": [], "issuelinks": [ { "id": "39836", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "134633", "key": "TIDOC-1829", "fields": { "summary": "Android-L Notifications", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "42943", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "133531", "key": "TIMOB-17357", "fields": { "summary": "Android: Support Material Theme", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-03-12T23:59:33.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": "Our current implementation is deprecated, and likely to stop working with Android L.", "attachment": [], "flagged": false, "summary": "Android: Refactor notifications", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 241, "state": "closed", "name": "2014 Sprint 22 SDK", "startDate": "2014-10-27T22:25:43.407Z", "endDate": "2014-11-08T01:00:00.000Z", "completeDate": "2014-11-10T20:10:00.899Z", "originBoardId": 114 }, { "id": 251, "state": "closed", "name": "2014 Sprint 23 SDK", "startDate": "2014-11-10T22:56:44.608Z", "endDate": "2014-11-22T01:00:00.000Z", "completeDate": "2014-11-22T05:03:36.553Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "315397", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Putting a SWAG of 2 weeks. We may want to consider adding some of the new features into notifications as well. We will also want to confirm that the new approach will work with Android Wear devices.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-22T23:52:39.000+0000", "updated": "2014-07-22T23:52:39.000+0000" }, { "id": "319548", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "* Set up Eclipse\r\n* Set up Android studio\r\n* Update Studio\r\n* Update CLI\r\n* Refactoring notification", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T20:22:40.000+0000", "updated": "2014-08-20T20:22:40.000+0000" }, { "id": "320372", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This requires an update to the AppCompat library which is not at GA status yet. Thus, we will be merging this to the master branch (not 3.4.0). Once Android L is closer to release and the proper components are available, we can slot this in. My goal is this would appear on the 3.4.X branch as soon as is feasible, and likely ship with 3.4.1.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-26T15:44:56.000+0000", "updated": "2014-08-26T15:44:56.000+0000" }, { "id": "328860", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/6247", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-21T17:54:55.000+0000", "updated": "2014-11-06T01:18:29.000+0000" }, { "id": "329428", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-10-24T21:49:23.000+0000", "updated": "2014-10-24T21:50:00.000+0000" }, { "id": "330953", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-06T01:19:39.000+0000", "updated": "2014-11-06T01:19:39.000+0000" }, { "id": "331182", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed, we can merge this into 3.4.2.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-07T15:28:32.000+0000", "updated": "2014-11-07T15:28:32.000+0000" }, { "id": "331431", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case for new features of notification:\r\n{code}\r\n// Create the notification\r\nvar notification = Titanium.Android.createNotification({\r\n contentTitle: 'Notification 1',\r\n contentText : 'Just a notification',\r\n category: Titanium.Android.CATEGORY_MESSAGE,\r\n priority: Titanium.Android.PRIORITY_HIGH\r\n});\r\n\r\n// Create the notification\r\nvar notification2 = Titanium.Android.createNotification({\r\n contentTitle: 'Notification 2',\r\n contentText : 'Just another notification',\r\n});\r\n\r\nvar window = Ti.UI.createWindow();\r\nvar button = Ti.UI.createButton({\r\n\ttitle: 'Send Notification 1',\r\n\ttop:100\r\n});\r\n\r\nvar button2 = Ti.UI.createButton({\r\n\ttitle: 'Send Notification 2',\r\n\ttop: 300\r\n});\r\n\r\nwindow.add(button);\r\nwindow.add(button2);\r\nwindow.open();\r\n\r\nbutton.addEventListener('click', function(e) {\r\n\t// Send the notification.\r\n\tTitanium.Android.NotificationManager.notify(1, notification);\r\n});\r\n\r\nbutton2.addEventListener('click', function(e) {\r\n\t// Send the notification.\r\n\tTitanium.Android.NotificationManager.notify(2, notification2);\r\n});\r\n{code}\r\n1. Send notification 1 first, then send notification 2. \r\n2. Since notification 1 has higher priority than 2, 1 will be on top of 2. If you remove priority of notification 1, then repeat step 1, notification 2 will be on top of notification 1.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-10T20:11:46.000+0000", "updated": "2014-11-10T20:11:46.000+0000" }, { "id": "331666", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-11T20:00:33.000+0000", "updated": "2014-11-11T20:00:33.000+0000" }, { "id": "332065", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3.4.X PR: https://github.com/appcelerator/titanium_mobile/pull/6346", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-13T20:19:23.000+0000", "updated": "2014-11-13T20:19:23.000+0000" }, { "id": "345901", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix and support for notifications for android 5.0.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.0.0.201503062102\r\nTi SDK : 4.0.0.v20150312095013\r\nCLI : 3.5.0-dev\r\nAlloy : 1.5.1\r\nMAC Yosemite : 10.10.2\r\nNexus 5 - Android 5.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-03-12T23:55:42.000+0000", "updated": "2015-03-12T23:55:42.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }