mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Set activity state correctly when ending activity.
This commit is contained in:
parent
d3d1c06c09
commit
60b5d42324
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user