mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +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
|
||||
else {
|
||||
this.activityState = ACTIVITY_EXITING;
|
||||
return super.onKeyDown(keyCode, event);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user