{ "id": "62191", "key": "TIMOB-1559", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:30.000+0000", "created": "2011-04-15T02:56:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "feature" ], "versions": [], "issuelinks": [ { "id": "57112", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "171712", "key": "TIMOB-26075", "fields": { "summary": "Android: Refactor app resume and \"newintent\" handling", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "12176", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "78931", "key": "TIMOB-4941", "fields": { "summary": "Android: More graceful workaround for Android Bug 2373 & 5277", "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": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-11T03:28:17.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": "{html}
When a user installs an application downloaded from the Market\nor via a website and opens it from the installation success\nActivity. Pressing Home, then trying to bring the Application back\nvia the launcher in the drawer/home scree or from the recent task\nmenu will cause a new instance of the root activity to appear on\nthe task stack.
\n(from [852769b7e9b7b6bd0813ac81f6e2a1394e1078e1])\n[#1559 state:fixed-in-qa]
\n\nThis work around allows the application to detect that it has been launched without th\n\n<property name=\"ti.android.bug2373.title\">Restart Required</property>\n<property name=\"ti.android.bug2373.message\">An application restart is required.</prope\n<property name=\"ti.android.bug2373.buttonText\">Continue</property>\n<property name=\"ti.android.bug2373.backgroundColor\">black</property>
\n
\n\nhttp://github.com/appcelerator/titanium_mobile/commit/852769b7e9b7b...
I'm still having this issue using the latest Oct 7th 1.4.2\nbuild. I've also had other user comment that it's happened to him.\nAny ideas what is causing this or a work around to prevent\nthis?
This ticket is the workaround for the android os defect.
G2 1.5.0.70e98
MUCH better than crashing, but this dialog still seems to scare\nusers & I keep getting reports about it being a \"bug\". Users\nseem to view this as roughly equivalent to the app crashing.
\nThis is a fairly uncomfortable situation since it happens\nwithout-fail the first time the user runs the app after installing\nit (and as far as I can tell, any time you click \"open\" from the\napp page in the Marketplace app).
\nIs there any harm in just making this into a toast notification\nsaying that the app needs to do some initialization or something,\nand restarting automatically?