Merge "Disabling switch preference when unknown sources are blocked" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-01 04:59:30 +00:00
committed by Android (Google) Code Review
3 changed files with 39 additions and 84 deletions

View File

@@ -14,13 +14,17 @@
limitations under the License.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/install_other_apps">
<SwitchPreference
android:key="external_sources_settings_switch" />
<com.android.settingslib.RestrictedSwitchPreference
android:key="external_sources_settings_switch"
android:title="@string/external_source_switch_title" />
<Preference
android:key="external_sources_settings_description"
android:summary="@string/install_all_warning"
android:selectable="false" />
</PreferenceScreen>