• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2025 The Android Open Source Project
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17
18<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:settings="http://schemas.android.com/apk/res-auto"
20    xmlns:app="http://schemas.android.com/apk/res-auto"
21    android:title="@string/notification_summarization_title">
22
23    <com.android.settingslib.widget.IllustrationPreference
24        android:key="illustration"
25        settings:searchable="false"
26        android:selectable="false"
27        app:lottie_cacheComposition="false"
28        settings:dynamicColor="true"/>
29
30    <com.android.settingslib.widget.TopIntroPreference
31        android:key="feature_description"
32        settings:searchable="false"
33        android:title="@string/notification_summarization_description"/>
34
35    <com.android.settingslib.widget.MainSwitchPreference
36        android:key="global_pref"
37        android:title="@string/notification_summarization_main_control_title"
38        settings:controller="com.android.settings.notification.SummarizationGlobalPreferenceController" />
39
40    <PreferenceCategory
41        android:key="notification_summarization_excluded_apps_list"
42        android:title="@string/notification_excluded_apps"
43        settings:controller="com.android.settings.notification.AdjustmentExcludedAppsPreferenceController">
44        <com.android.settingslib.widget.TopIntroPreference
45            android:key="excluded_description"
46            android:title="@string/notification_summarization_excluded_description"/>
47
48        <!-- apps are added here -->
49
50        <Preference
51            android:key="notification_summarization_manage_apps"
52            android:order="1000"
53            android:icon="@drawable/ic_chevron_right_24dp"
54            android:title="@string/notification_summarization_manage_excluded_apps"
55            settings:controller="com.android.settings.notification.SummarizationManageAppsPreferenceController"
56            android:fragment="com.android.settings.applications.manageapplications.ManageApplications">
57            <extra
58                android:name="classname"
59                android:value="com.android.settings.Settings$NotificationExcludeSummarizationActivity"/>
60        </Preference>
61    </PreferenceCategory>
62
63
64</PreferenceScreen>
65