Files
packages_apps_Settings/res/xml/adaptive_playback_sound_settings.xml
Chris Crump bc315d1771 Settings: Introduce Adaptive Playback [2/2]
* Animation by Sahul Krishan
* Adapt to Android 11 by @mickaelmendes50

[Hernán Castañón] Adaptive Playback: allow choosing no timeout.

Co-authored-by: Hernán Castañón Álvarez <herna@paranoidandroid.co>
Change-Id: I82c20b89d06b722d8f9da1bdb14eb096a7d088c9

AdaptivePlayback: Add a intro text to the fragment

 * Let's help users to understand what the feature does
   by adding a little introduction text.

Change-Id: Ie9ef15d7f60ab2197c30c79434c9fb876c498cd5
Co-authored-by: AshutoshSundresh <ashutoshsundresh@gmail.com>
Signed-off-by: Mesquita <mesquita@aospa.co>

Settings: Move "Adaptive Playback" option to Sound Settings.

 * Our gestures category looks bloated with features.
   Move this to Sound Settings where it feels better and more homely.

Change-Id: I28fd022a4998141435a1e89a027b7a1fe6f75537
Signed-off-by: Mesquita <mesquita@aospa.co>

AdaptivePlayback: Rename it to 'Smart Pause' to keep a better fluency

 * As we already have an 'Adaptive Sound' in sound settings

Change-Id: Iaca4b7d65fe490ee6462ba49907316930deaeaa5
Signed-off-by: Mesquita <mesquita@aospa.co>

Change-Id: I82c20b89d06b722d8f9da1bdb14eb096a7d088c9
2025-12-10 00:41:33 +09:00

44 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020-2022 Paranoid Android
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"
xmlns:settings="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:key="sound_adaptive_playback_screen"
android:title="@string/adaptive_playback_screen_title">
<com.android.settingslib.widget.IllustrationPreference
android:key="adaptive_playback_header"
settings:searchable="false"
app:lottie_rawRes="@raw/lottie_adaptive_playback"/>
<com.android.settingslib.widget.MainSwitchPreference
android:key="sound_adaptive_playback_main_switch"
android:title="@string/adaptive_playback_enabled"
settings:controller="com.android.settings.sound.AdaptivePlaybackSwitchPreferenceController" />
<com.android.settingslib.widget.TopIntroPreference
android:key="gesture_adaptive_playback_intro_text"
android:title="@string/adaptive_playback_intro_text"/>
<PreferenceCategory
android:key="sound_adaptive_playback_category"
android:title="@string/adaptive_playback_timeout_title"
settings:controller="com.android.settings.sound.AdaptivePlaybackSoundPreferenceController" />
</PreferenceScreen>