mirror of
https://github.com/apache/cordova-android.git
synced 2025-04-22 16:50:45 +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
|
* End this activity by calling finish for activity
|
||||||
*/
|
*/
|
||||||
public void endActivity() {
|
public void endActivity() {
|
||||||
|
this.activityState = ACTIVITY_EXITING;
|
||||||
this.finish();
|
this.finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user