Commit Graph

7 Commits

Author SHA1 Message Date
Shubhi
dabdb9547d Enable Media Provider to use sub libraries in SettingsLib
Enable Media Provider to use SettingsLibProfileSelector and
SettingsLibSelectorWithWidgetPreference sub libraries directly by
allow listing Media Provider's apex.

Test: m SettingsLib
Test: Build Media Provider
Bug: 195009187
Change-Id: I8ef91668b4d882e4d50d16c8721874315bf91da6
2022-11-01 08:57:04 +00:00
Edgar Wang
e8cff4feea Apply phrase based line breaking on most of Preference
- move related change to v33 folder for bater maintenance

Bug: 232992171
Test: manual
Change-Id: I269000147bddb027299367e2178f43597d8ab76c
2022-08-04 00:35:04 +00:00
Edgar Wang
c3ba431972 Enable hyphenation on most of preference.
Bug: 217659992
Bug: 231924943
Bug: 229763000
Test: manual
Change-Id: Ia490c4c17a60004efd3a6f2d03b5eaaccc491a00
2022-05-24 12:39:42 +00:00
Yuri Lin
bbf570eb8b Add a isCheckbox() function to SelectorWithWidgetPreference.
Bug: 197223270
Test: robotest SelectorWithWidgetPreferenceTest
Change-Id: I5f0ec1cdbc73c06e2f366471c9e7a800c9771ecb
2021-09-13 16:32:42 -04:00
Bill Yi
a43fa25bdb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5c75b0340a37afec9fbd3c036ddfebab0bb425e3
2021-08-07 01:36:12 +00:00
Bill Yi
fe7e8c5dbe Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2815811ab4861df2f7e835c5fcd02d550b649c5b
2021-08-04 09:18:05 +00:00
Yuri Lin
1516c28737 Rename RadioButtonPreference to SelectorWithWidgetPreference, and add a checkbox styling option.
This rename makes it slightly less confusing to have both radio and checkbox display options. Functionally, this preference was already equivalent to a checkbox (with checking/unchecking functionality managed by the caller); the reason to use this class for settings checkboxes rather than the base CheckBoxPreference is for the added widget functionality.

This change leaves RadioButtonPreference as-is to make it easier to bring google3 uses in without having to be in lockstep, but RadioButtonPreference will be deleted in a future CL.

Test: SelectorWithWidgetPreferenceTest, RunSettingsLibRoboTests
Bug: 190180868

Change-Id: I0811997b4625f1292b1842ea353a90221159bb50
2021-07-26 15:31:49 -04:00