Added Content Country selection setting. This changes the SearchEngine interface slightly. Still need a reliable test to prove whether YouTube is serving different search results based on the country code passed in the search query.

This commit is contained in:
Adam Howard 2015-11-04 12:42:17 +00:00
parent fc32377ce7
commit fc707b6c7e
7 changed files with 212 additions and 4 deletions

View file

@ -51,4 +51,10 @@
android:title="@string/showNextVideoTitle"
android:defaultValue="true" />
<ListPreference
android:key="@string/contentCountry"
android:title="@string/contentCountryTitle"
android:entries="@array/countryNames"
android:entryValues="@array/countryCodes"
android:defaultValue="" /> <!-- default will include no country code in URL-->
</PreferenceScreen>