From 96497838babbaeb143b0fbc7d0de9c695e56e9f7 Mon Sep 17 00:00:00 2001 From: Victoria Lease Date: Fri, 23 Mar 2012 14:19:56 -0700 Subject: pref for html5 prefetch bandwidth management Bug: 5218987 Change-Id: Ifeb9a1b3d71ac83b8ad94a8f31ed324ebd5d0fe7 --- res/values/strings.xml | 22 ++++++++++++++++++++++ res/xml/bandwidth_preferences.xml | 8 ++++++++ 2 files changed, 30 insertions(+) (limited to 'res') diff --git a/res/values/strings.xml b/res/values/strings.xml index 2de5e58..6afe4d5 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -664,6 +664,28 @@ Allow browser to preload high confidence search results in the background Search result preloading + + Web page preloading + + + Never + Only on Wi-Fi + Always + + + NEVER + WIFI_ONLY + ALWAYS + @string/pref_link_prefetch_value_wifi_only + + @string/pref_link_prefetch_value_never + @string/pref_link_prefetch_value_wifi_only + @string/pref_link_prefetch_value_always + + + Allow browser to preload linked web pages in the background + + Web page preloading Connection problem diff --git a/res/xml/bandwidth_preferences.xml b/res/xml/bandwidth_preferences.xml index bb1688e..9946b48 100644 --- a/res/xml/bandwidth_preferences.xml +++ b/res/xml/bandwidth_preferences.xml @@ -24,6 +24,14 @@ android:entryValues="@array/pref_data_preload_values" android:dialogTitle="@string/pref_data_preload_dialogtitle" /> + +