mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 20:33:07 +08:00
Set activity state correctly when ending activity.
This commit is contained in:
parent
12816aa8f3
commit
e4a992095f
@ -1442,6 +1442,7 @@ public class DroidGap extends PhonegapActivity {
|
|||||||
|
|
||||||
// If not, then invoke behavior of super class
|
// If not, then invoke behavior of super class
|
||||||
else {
|
else {
|
||||||
|
this.activityState = ACTIVITY_EXITING;
|
||||||
return super.onKeyDown(keyCode, event);
|
return super.onKeyDown(keyCode, event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user