Skip to content

Commit

Permalink
Set activity state correctly when ending activity.
Browse files Browse the repository at this point in the history
  • Loading branch information
brycecurtis committed Oct 25, 2011
1 parent 12816aa commit e4a9920
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/src/com/phonegap/DroidGap.java
Original file line number Diff line number Diff line change
Expand Up @@ -1442,6 +1442,7 @@ public boolean onKeyDown(int keyCode, KeyEvent event) {

// If not, then invoke behavior of super class
else {
this.activityState = ACTIVITY_EXITING;
return super.onKeyDown(keyCode, event);
}
}
Expand Down

0 comments on commit e4a9920

Please sign in to comment.