Set activity state correctly when ending activity.

This commit is contained in:
Bryce Curtis 2011-10-25 11:39:37 -05:00
parent d3d1c06c09
commit 60b5d42324

View File

@ -1406,6 +1406,7 @@ public class DroidGap extends PhonegapActivity {
* End this activity by calling finish for activity
*/
public void endActivity() {
this.activityState = ACTIVITY_EXITING;
this.finish();
}