bump version, target api 18
make webview software layer optional
This commit is contained in:
parent
d6e1597e73
commit
ced4e4b089
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="205"
|
||||
android:versionCode="206"
|
||||
android:versionName="1.16" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="8"
|
||||
android:targetSdkVersion="17" />
|
||||
android:targetSdkVersion="18" />
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
|
@ -202,4 +202,6 @@
|
||||
<string name="pref_headline_font_size">Headline text size</string>
|
||||
<string name="context_confirm_catchup">Mark all articles in %1$s as read?</string>
|
||||
<string name="theme_system">Device Default</string>
|
||||
<string name="accel_webview_summary">Disable if you see flicker or visual glitches.</string>
|
||||
<string name="accel_webview_title">Accelerate web views</string>
|
||||
</resources>
|
||||
|
@ -161,6 +161,11 @@
|
||||
android:title="@string/offline_oldest_first" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/debugging" >
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="webview_hardware_accel"
|
||||
android:summary="@string/accel_webview_summary"
|
||||
android:title="@string/accel_webview_title" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="transport_debugging"
|
||||
|
@ -164,7 +164,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl
|
||||
registerForContextMenu(web);
|
||||
|
||||
// prevent flicker in ics
|
||||
if (android.os.Build.VERSION.SDK_INT >= 11 && android.os.Build.VERSION.SDK_INT < 14) {
|
||||
if (!m_prefs.getBoolean("webview_hardware_accel", true)) {
|
||||
web.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
}
|
||||
|
||||
|
@ -211,7 +211,7 @@ public class OfflineArticleFragment extends Fragment implements GestureDetector.
|
||||
getActivity().getTheme().resolveAttribute(R.attr.linkColor, tv, true);
|
||||
|
||||
// prevent flicker in ics
|
||||
if (android.os.Build.VERSION.SDK_INT >= 11 && android.os.Build.VERSION.SDK_INT < 14) {
|
||||
if (!m_prefs.getBoolean("webview_hardware_accel", true)) {
|
||||
web.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user