- Add missing title to preference screen xml so that they will be used to set the activity title when the fragment is launched. - Also updated some incorrect preference screen titles. - Overrides getTitle() in preference fragments that do not use the preference screen xml. Bug: 64564191 Test: blaze-bin/screenshots/android/i18nscreenshots/i18nscreenshots Change-Id: Id72d5ddf18f0962bc484de8bbd847a2e55d6371e
46 lines
1.7 KiB
XML
46 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2015 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:title="@string/launch_by_default">
|
|
|
|
<PreferenceCategory android:key="app_launch_domain_links"
|
|
android:title="@string/app_launch_domain_links_title">
|
|
|
|
<DropDownPreference
|
|
android:key="app_link_state"
|
|
android:summary="%s"
|
|
android:title="@string/app_launch_open_domain_urls_title" />
|
|
|
|
<com.android.settings.applications.AppDomainsPreference
|
|
android:key="app_launch_supported_domain_urls"
|
|
android:title="@string/app_launch_supported_domain_urls_title"
|
|
android:dependency="app_link_state"
|
|
/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory android:key="app_launch_other_defaults"
|
|
android:title="@string/app_launch_other_defaults_title">
|
|
|
|
<com.android.settings.applications.ClearDefaultsPreference
|
|
android:key="app_launch_clear_defaults" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|