diff options
author | Andrew Dolgov <[email protected]> | 2018-05-04 12:55:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-05-04 12:55:11 +0300 |
commit | 025d7fe92c8c92527ad1fe714cae8bc7448f3bb8 (patch) | |
tree | bacccf3136e5c41e30d47fdaf175903a863d59f2 /org.fox.ttrss/src/main | |
parent | a27ed7edf127ba4896ccc26adfdc409295befb08 (diff) |
force render article content synchronously because chrome 66 is broken
Diffstat (limited to 'org.fox.ttrss/src/main')
-rwxr-xr-x | org.fox.ttrss/src/main/AndroidManifest.xml | 4 | ||||
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleFragment.java | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index d0eefcad..221618fd 100755 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.fox.ttrss" - android:versionCode="475" - android:versionName="1.241"> + android:versionCode="476" + android:versionName="1.242"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleFragment.java index 0b2ee523..4a8d1c13 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/ArticleFragment.java @@ -7,7 +7,6 @@ import android.graphics.Color; import android.net.Uri; import android.os.Build; import android.os.Bundle; -import android.os.Handler; import android.preference.PreferenceManager; import android.support.v7.app.ActionBar; import android.text.Html; @@ -407,14 +406,16 @@ public class ArticleFragment extends StateSavedFragment { m_web.setVisibility(View.VISIBLE); - //renderContent(savedInstanceState); + // we no longer use async rendering because chrome 66 webview breaks on it sometimes - new Handler().postDelayed(new Runnable() { + /*new Handler().postDelayed(new Runnable() { @Override public void run() { renderContent(savedInstanceState); } - }, 250); + }, 250);*/ + + renderContent(savedInstanceState); return view; } |