disable webview restorestate if not running on accelerated webview

This commit is contained in:
Andrew Dolgov 2014-12-02 10:21:27 +03:00
parent 216f7e2653
commit 4493b17723
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss" package="org.fox.ttrss"
android:versionCode="292" android:versionCode="293"
android:versionName="1.83" > android:versionName="1.84" >
<uses-sdk <uses-sdk
android:minSdkVersion="10" android:minSdkVersion="10"

View File

@ -442,7 +442,7 @@ public class ArticleFragment extends Fragment {
// //
} }
if (savedInstanceState == null) if (savedInstanceState == null || !acceleratedWebview)
m_web.loadDataWithBaseURL(baseUrl, content, "text/html", "utf-8", null); m_web.loadDataWithBaseURL(baseUrl, content, "text/html", "utf-8", null);
else else
m_web.restoreState(savedInstanceState); m_web.restoreState(savedInstanceState);