This is a squash of the following commits:
Author: Danny Baumann <dannybaumann@web.de>
Date: Tue Nov 11 13:14:07 2014 +0100
Add back increasing ring feature (2/3).
Change-Id: Iafc79a57651db327a100e0f1723b62f442b638be
Author: Danny Baumann <dannybaumann@web.de>
Date: Mon Nov 24 13:05:39 2014 +0100
Fix NPE.
When entering the notification prefs sub activity without the increasing
ring pref being visible and leaving it right away, onActivityStop()
threw an NPE because the handler wasn't yet constructed.
Change-Id: Ia4291d8ac3d1dbf76d432db7e0e973844163c4ae
Author: Danny Baumann <dannybaumann@web.de>
Date: Fri May 29 08:48:46 2015 +0200
Fix up increasing ring tone volume preview behaviour.
Change-Id: Ibe7fdf1ee7f0aa1c7c76052df69fa92e8b6a2ffd
Author: Keith Mok <kmok@cyngn.com>
Date: Tue Jul 12 09:45:45 2016 -0700
Settings: Always set ramp-up time value during bindView
onProgressChange is not always called if we set the
ramp up time to 5 sec (0 in seekbar value, since it is
the default value, no change).
Causing the text showing the ramp up time text value not
updated and display as empty when user enable/disable
increasing ring volume with ramp up time set to 5 sec.
FEIJ-1572
Change-Id: Id32d6b51aab05e80be59bc1912c4ae7c5d114ac5
Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date: Wed, 18 Jan 2017 15:55:13 +0800
Move notif volume pref on top of increasing ring pref
Change Iafc79a57651db327a100e0f1723b62f442b638be added two
increasing ringtone-related preferences between the notification
volume preference and the ring volume preference.
However, the notification volume preference should be grouped
together with the media, alarm, and ring volume preferences.
Hence, move the notification volume preference back to where
it should be.
Change-Id: I138e6f78b6c231643d86746858e0cbdfcb0942eb
Author: Bruno Martins <bgcngm@gmail.com>
Date: Mon Dec 11 23:45:39 2017 +0000
Adapt increasing ring feature to O-MR1 and new Settings UI
* Make it depend on SettingsLib's version of Lifecycle and Mixin.
* Create a custom style for the IncreasingRingtonePreference
and match the new UI in Oreo Settings app.
Change-Id: I25462159fa39f5cdaddb1898c71f536572e900a4
Author: Bruno Martins <bgcngm@gmail.com>
Date: Fri Jan 14 17:56:29 2022 +0000
Adapt increasing ring feature to S and new Settings UI
Change-Id: Ib70f6f71f62e59c945d69ab9c23ca185fde4a4b0
Change-Id: I3f22c77504a5014f9dbd40909d760149143570fe
Shows a Google Play store icon in the App Info actionbar of apps
Excludes aosp built ones, but still works for apps generally found in /system, like SuperSU
The openPlayStore() code was created by @nicholaschum for Substratum, thank you!
BenzoEdit: fixed it for pie and updated drawable
Change-Id: Ic55e572405d97b1f8ae3f8e3b5aceaa38b6a991e
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
- Taken from Google's material symbols and icons
Change-Id: I0f000193c3590a0c751713d1947778787a90ca47
Signed-off-by: penglezos <panagiotisegl@gmail.com>
- Updates default icon to outlined version
- Makes availability conditional on existence of supervising credential
- Does not disable entry point when the main switch is disabled
Bug: 405159398
Test: atest SupervisionPinManagementScreenTest
Test: atest SupervisionDashboardScreenTest
Flag: android.app.supervision.flags.enable_supervision_settings_screen
Change-Id: I764a6b767019007a93aacf29ecf47677e16cb058
Enhance the visibility and discoverability of ambient volume control
icons by adding backgrounds.
Flag: EXEMPT bugfix
Bug: 398962101
Test: manual check the result and screenshots attached on bug
Change-Id: Ice467191235df63f258bbca4e085fbf8a7f3c555
Replace ComposePreference with androidx.preference.Preference.
ANC toggle will still use Compose until SegmentedButtonPreference is ready.
BUG: 402036473
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5114af8f2d679d695b3c5ef4d7be2874245c435e
Test: manually open page and verify buttons work. Make sure to check the buttons during setup wizard.
Bug: 386906497
Flag: EXEMPT xml-dependent change
Change-Id: I488d74591d698ad918fd864cf39b2f3133abd463
- Update card preference: Update icon hint color by banner attention level
- Remove redundant color token: Use the existing Material yellow as a warning color
Bug: 349652542
Test: atest BatteryTipsControllerTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I35730eb4716e9dbd712c22db63490e8bc06fc482
This change includes -
* Using SettingsLib.CardPreferenceWidget in storage dashboard
* Using material theme color for progress bar
Test: manual
BUG: 349670985
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Ib86ec9d1713316dd3dd3067c2cce87c89e15d9e0
Test: manually open page and verify buttons work
Bug: 386906497
Flag: EXEMPT small internal change dependant on xml
Change-Id: I49ecf2940be897725a0864cf898655837a3e2399
replace drawable color with tokenzied color
Bug:389665773
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest
packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
Change-Id: Ib24add0a12ab21d5e6c4b88e5f2ba4bb584f0c3f
- Added a feature provider for face settings page in FaceFeatureProvider
for customization
- When face is deleted, disabled the settings buttons instead of hiding
them.
- Updated new UX style for add/remove face button.
Bug: 370940762
Test: atest FaceSettingsEnrollButtonPreferenceControllerTest
FaceSettingsFooterPreferenceControllerTest
Test: manual - 1. Enroll face
2. Go Face Settings page and remove face
3. Enroll face again
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I490e647523eeff2dd1a58aab07f638e3e5e0ffb8
In the process of adding highlight we use an extra feature of
LayerDrawable to add insets so that we can add padding without changing
the actual dimensions or position of the DisplayBlock Views.
To make it easier to keep the values consistent and to aid in conversion
between px and dp, use dimen values to store padding and highlight
metrics.
Bug: b/352650922
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest DisplayTopologyPreferenceTest.kt
Change-Id: I51ff2ce4a086e84a0c529346f8ede90430090b11
When we first added the touchpad settings we hadn't settled on whether
to refer to them as "touchpads" or "trackpads" yet. We've since settled
on "touchpad", but that's left us with some Settings code referring to
one and some to the other. Let's standardize on "touchpad" since that's
consistent with user-facing strings and the rest of the input codebase.
This CL doesn't change string identifiers, as I believe that would cause
them to get different Translation Console IDs and thus be retranslated.
Bug: 245989146
Test: m
Test: check strings and icons are still displayed correctly in the
touchpad settings and tutorial, and that settings toggles and the
tutorial still work
Test: atest SettingsRoboTests
Flag: EXEMPT refactor
Change-Id: I930e9fc85e09e03da3513e5f8443077fa8ea91b0