{ "id": "90402", "key": "TIMOB-8768", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-08-23T10:14:04.000+0000", "created": "2012-04-17T14:41:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "20141", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "92064", "key": "TIMOB-9285", "fields": { "summary": "Android: Message \"An application restart is required\" fires incorrectly.", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16688", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "89154", "key": "TIMOB-8415", "fields": { "summary": "Android: 3.X and 4.X Emulator: Intermittent app restart required on launch", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2013-05-01T20:14:42.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": "When an app is installed to device using adb push, the app must restart on first launch.\r\n\r\nThis is not a regression (tested in 1.8.1+).\r\n\r\nThis may be an Android bug according to the log (attached):\r\n\r\nAndroid issue 2373 detected (missing intent CATEGORY_LAUNCHER or FLAG_ACTIVITY_RESET_TASK_IF_NEEDED), restarting app.\r\n\r\nThis issue also intermittently affects the 3.X and 4.X emulators on regular launch (see linked issue).\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a new project.\r\n2. Package app or build to emulator to obtain the app.apk.\r\n3. In the terminal, push apk to device using command (apk name may vary):\r\n\r\n{code}\r\nadb push NewProject.apk /sdcard/\r\n{code}\r\n\r\n4. Navigate to app apk in device file system (i.e., Astro).\r\n5. Click on the apk, press install, press open/run app.\r\n\r\nExpected Result:\r\n\r\nApp should run without error.\r\n\r\nActual Result:\r\n\r\nApp force restarts on first run, but runs correctly on future launches.", "attachment": [ { "id": "27222", "filename": "nexus one 2.2.2 log.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-17T14:41:54.000+0000", "size": 9791, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: App restart required on first launch when installed from sdcard", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.8.1, 1.8.2, 2.0.0.GA, 2.0.1.GA2\r\nRuntime: V8, Rhino\r\nStudio: 2.0.1.201204132053\r\nOS: Snow Leopard\r\nDevices Tested: Nexus One 2.2.2, Nexus S 2.3.4", "comment": { "comments": [ { "id": "215821", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "This duplicates many JIRA items, but I'll choose TIMOB-9285 since it's the most recent one I worked on. \r\n\r\nThis is a manifestation of Android bug 2373. See my huge comment in TIMOB-9285.\r\n\r\nIn fact the testing instructions for TIMOB-9285 are specifically for launching the app from the Sd card.\r\n\r\n(This JIRA item pre-dates TIMOB-9285, so no harm no foul. :-) )", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-23T10:13:50.000+0000", "updated": "2012-08-23T10:13:50.000+0000" }, { "id": "249788", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-01T20:14:42.000+0000", "updated": "2013-05-01T20:14:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }