mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 23:42:53 +08:00
778b784eb6
Attempting to invoke the Activity's finish() onDestroy breaks an Activity's lifecycle flag. OnDestroy can be called by the system, for instance, on restarting an Activity, it's definitely different from a normal finish(). Finish() incorrectly in onDestroy results in another DroidGap derived activity is started, while the original one is not yet onDestroy. This issue could be found when the system is trying to restart the activity upon, for instance, receiving immediately successive device Config changes. |
||
---|---|---|
.. | ||
assets | ||
res | ||
src/org/apache/cordova | ||
test/org/apache/cordova | ||
.classpath | ||
.project | ||
AndroidManifest.xml | ||
ant.properties | ||
build.xml | ||
default.properties | ||
project.properties |