[Settings] Add pref key for metrics

Bug: 349749793
Test: manual
Flag: EXEMPT resource only update
Change-Id: I367a42d023b2a1b879130e63205e3f63365a4a86
This commit is contained in:
Zoey Chen
2024-07-09 05:46:18 +00:00
parent bb41777f87
commit 21a54d0343
7 changed files with 16 additions and 8 deletions

View File

@@ -18,7 +18,8 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/languages_settings"> android:title="@string/languages_settings"
android:key="languages_settings">
<PreferenceCategory <PreferenceCategory
android:key="languages_category" android:key="languages_category"
android:title="@string/locale_picker_category_title"> android:title="@string/locale_picker_category_title">
@@ -68,4 +69,4 @@
android:fragment="com.android.settings.tts.TextToSpeechSettings" android:fragment="com.android.settings.tts.TextToSpeechSettings"
settings:searchable="false"/> settings:searchable="false"/>
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>

View File

@@ -18,7 +18,8 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/language_picker_title"> android:title="@string/language_picker_title"
android:key="system_languages">
<com.android.settingslib.widget.TopIntroPreference <com.android.settingslib.widget.TopIntroPreference
android:title="@string/desc_introduction_of_language_picker" android:title="@string/desc_introduction_of_language_picker"

View File

@@ -16,7 +16,8 @@
<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-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/regional_preferences_title"> android:title="@string/regional_preferences_title"
android:key="regional_preferences">
<com.android.settingslib.widget.TopIntroPreference <com.android.settingslib.widget.TopIntroPreference
android:title="@string/regional_preferences_main_page_sub_title" android:title="@string/regional_preferences_main_page_sub_title"

View File

@@ -13,4 +13,6 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" /> <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:key="regional_preference_numbering_system"/>

View File

@@ -17,7 +17,8 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/first_day_of_week_preferences_title"> android:title="@string/first_day_of_week_preferences_title"
android:key="regional_preference_first_day_of_week">
<com.android.settingslib.widget.TopIntroPreference <com.android.settingslib.widget.TopIntroPreference
android:title="@string/regional_preferences_option_page_sub_title" android:title="@string/regional_preferences_option_page_sub_title"

View File

@@ -17,7 +17,8 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/temperature_preferences_title"> android:title="@string/temperature_preferences_title"
android:key="regional_preference_temperature">
<com.android.settingslib.widget.TopIntroPreference <com.android.settingslib.widget.TopIntroPreference
android:title="@string/regional_preferences_option_page_sub_title" android:title="@string/regional_preferences_option_page_sub_title"

View File

@@ -17,7 +17,8 @@
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto" xmlns:settings="http://schemas.android.com/apk/res-auto"
android:title="@string/terms_of_address_title"> android:title="@string/terms_of_address_title"
android:key="terms_of_address">
<com.android.settingslib.widget.TopIntroPreference <com.android.settingslib.widget.TopIntroPreference
android:title="@string/terms_of_address_intro_title" android:title="@string/terms_of_address_intro_title"