Changes to conform to new overlay format

- Added new overlay resources and checks for new resource values
- Removed all references to carrier specific lookups and
converted them to overlay implementations instead.
- Removed old resources from assets directory

Change-Id: I5143b499ffb6f1e08d1f9c846eec94300de87561
diff --git a/res/values/all_search_engines.xml b/res/values/all_search_engines.xml
index 4fee10a..2c199f3 100644
--- a/res/values/all_search_engines.xml
+++ b/res/values/all_search_engines.xml
@@ -148,23 +148,6 @@
     <item>UTF-8</item>
     <item>http://api.bing.com/osjson.aspx?query={searchTerms}&amp;language={language}</item>
   </string-array>
-  <string-array name="cmcc_cn" translatable="false">
-    <item>&#x79FB;&#x52A8;&#x641C;&#x7D22;</item>
-    <item>s.139.com</item>
-    <item>http://s.139.com/favicon.ico</item>
-    <item>http://s.139.com/search.do?q={searchTerms}&amp;category=downloadable|web|browseable&amp;tid=2123,2124,2125,2126&amp;fr=portalcustom2</item>
-    <item>GB2312</item>
-    <item></item>
-  </string-array>
-
-  <string-array name="cmcc" translatable="false">
-    <item>139 Search</item>
-    <item>s.139.com</item>
-    <item>http://s.139.com/favicon.ico</item>
-    <item>http://s.139.com/search.do?q={searchTerms}&amp;category=downloadable|web|browseable&amp;tid=2123,2124,2125,2126&amp;fr=portalcustom2</item>
-    <item>UTF-8</item>
-    <item></item>
-  </string-array>
   <string-array name="yahoo_cn" translatable="false">
     <item>&#x4e2d;&#x56fd;&#x96c5;&#x864e;</item>
     <item>cn.yahoo.com</item>
@@ -773,5 +756,47 @@
     <item>UTF-8</item>
     <item>http://api.bing.com/osjson.aspx?query={searchTerms}&amp;language={language}</item>
   </string-array>
+
+  <!-- Custom search engines used from overlays -->
+  <string-array name="custom_search_engine_1" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_2" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_3" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_4" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_5" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_6" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_7" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_8" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_9" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_10" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_11" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_12" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_13" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_14" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_15" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_16" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_17" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_18" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_19" translatable="false">
+  </string-array>
+  <string-array name="custom_search_engine_20" translatable="false">
+  </string-array>
 </resources>
 
diff --git a/res/values/bookmarks_icons.xml b/res/values/bookmarks_icons.xml
index 5d8e85a..8bb982c 100644
--- a/res/values/bookmarks_icons.xml
+++ b/res/values/bookmarks_icons.xml
@@ -1,33 +1,33 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <array name="bookmark_preloads">
-        <item>@raw/favicon_google</item>
-        <item>@raw/thumb_google</item>
-        <item>@raw/favicon_picasa</item>
-        <item>@raw/thumb_picasa</item>
-        <item>@raw/favicon_yahoo</item>
-        <item>@raw/thumb_yahoo</item>
-        <item>@raw/favicon_msn</item>
-        <item>@raw/thumb_msn</item>
-        <item>@raw/favicon_twitter</item>
-        <item>@raw/thumb_twitter</item>
-        <item>@raw/favicon_facebook</item>
-        <item>@raw/thumb_facebook</item>
-        <item>@raw/favicon_wikipedia</item>
-        <item>@raw/thumb_wikipedia</item>
-        <item>@raw/favicon_ebay</item>
-        <item>@raw/thumb_ebay</item>
-        <item>@raw/favicon_cnn</item>
-        <item>@raw/thumb_cnn</item>
-        <item>@raw/favicon_nytimes</item>
-        <item>@raw/thumb_nytimes</item>
-        <item>@raw/favicon_espn</item>
-        <item>@raw/thumb_espn</item>
-        <item>@raw/favicon_amazon</item>
-        <item>@raw/thumb_amazon</item>
-        <item>@raw/favicon_weatherchannel</item>
-        <item>@raw/thumb_weatherchannel</item>
-        <item>@raw/favicon_bbc</item>
-        <item>@raw/thumb_bbc</item>
-    </array>
+    <string-array name="bookmark_preloads">
+        <item>favicon_google</item>
+        <item>thumb_google</item>
+        <item>favicon_picasa</item>
+        <item>thumb_picasa</item>
+        <item>favicon_yahoo</item>
+        <item>thumb_yahoo</item>
+        <item>favicon_msn</item>
+        <item>thumb_msn</item>
+        <item>favicon_twitter</item>
+        <item>thumb_twitter</item>
+        <item>favicon_facebook</item>
+        <item>thumb_facebook</item>
+        <item>favicon_wikipedia</item>
+        <item>thumb_wikipedia</item>
+        <item>favicon_ebay</item>
+        <item>thumb_ebay</item>
+        <item>favicon_cnn</item>
+        <item>thumb_cnn</item>
+        <item>favicon_nytimes</item>
+        <item>thumb_nytimes</item>
+        <item>favicon_espn</item>
+        <item>thumb_espn</item>
+        <item>favicon_amazon</item>
+        <item>thumb_amazon</item>
+        <item>favicon_weatherchannel</item>
+        <item>thumb_weatherchannel</item>
+        <item>favicon_bbc</item>
+        <item>thumb_bbc</item>
+    </string-array>
 </resources>
diff --git a/res/values/bools.xml b/res/values/bools.xml
index cc8ff5a..9ff3010 100644
--- a/res/values/bools.xml
+++ b/res/values/bools.xml
@@ -19,4 +19,9 @@
     <!-- Browser menu toggles -->
     <bool name="menu_show_navigation">true</bool>
     <bool name="menu_show_bookmarks">true</bool>
+    <!-- Carrier Specific Values -->
+    <bool name="wap2estore">false</bool>
+    <bool name="drm_uploads">false</bool>
+    <bool name="network_notifier">false</bool>
+    <bool name="def_disable_history">false</bool>
 </resources>
diff --git a/res/values/donottranslate-search_engines.xml b/res/values/donottranslate-search_engines.xml
index 081efc0..f83526b 100644
--- a/res/values/donottranslate-search_engines.xml
+++ b/res/values/donottranslate-search_engines.xml
@@ -24,7 +24,6 @@
   <string-array name="search_engines" translatable="false">
     <item>google</item>
     <item>baidu</item>
-    <item>cmcc</item>
     <item>yahoo</item>
     <item>bing</item>
   </string-array>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index e4718bf..4c8033f 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -797,6 +797,12 @@
     <!-- Do not translate.  Testing only -->
     <string name="dump_nav" translatable="false">Dump navigation cache</string>
 
+    <!-- Intentional empty elements - used for overlay feature -->
+    <string name="def_wifi_browser_interaction_remind_type"></string>
+    <string name="def_action_wifi_selection_data_connections"></string>
+    <string name="def_landing_page"></string>
+    <string name="def_useragent"></string>
+
     <!-- The default homepage. -->
     <string name="homepage_base" translatable="false">
         https://www.google.com/webhp?client={CID}&amp;source=android-home</string>