Skip to content

Commit

Permalink
Merge pull request zxing#514 from yoshi389111/help-rotate
Browse files Browse the repository at this point in the history
Added a method "onSaveInstanceState()" in HelpActivity.java
  • Loading branch information
srowen committed Dec 5, 2015
2 parents 02e4c28 + 1732b82 commit d5c6fab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/src/com/google/zxing/client/android/HelpActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,9 @@ public boolean onKeyDown(int keyCode, KeyEvent event) {
return super.onKeyDown(keyCode, event);
}

@Override
protected void onSaveInstanceState(Bundle icicle) {
super.onSaveInstanceState(icicle);
webView.saveState(icicle);
}
}

0 comments on commit d5c6fab

Please sign in to comment.