mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
No need to save state in HelpActivity
git-svn-id: https://zxing.googlecode.com/svn/trunk@3009 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
a0fcecfc96
commit
3a570f696a
|
@ -150,7 +150,8 @@
|
|||
android:stateNotNeeded="true"/>
|
||||
<activity android:name=".HelpActivity"
|
||||
android:label="@string/menu_help"
|
||||
android:screenOrientation="user"/>
|
||||
android:screenOrientation="user"
|
||||
android:stateNotNeeded="true"/>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
|
|
|
@ -47,14 +47,6 @@ public final class HelpActivity extends Activity {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onSaveInstanceState(Bundle state) {
|
||||
String url = webView.getUrl();
|
||||
if (url != null && !url.isEmpty()) {
|
||||
webView.saveState(state);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onKeyDown(int keyCode, KeyEvent event) {
|
||||
if (keyCode == KeyEvent.KEYCODE_BACK && webView.canGoBack()) {
|
||||
|
|
Loading…
Reference in a new issue