When the "end time" text label is wider than the actual time, then aligning it with the start of the time causes it to wrap, even when there's plenty more space on the screen. This change right-aligns it in all cases (even when it's shorter), as it's hard to get all three of "right-aligned when too long", "left-aligned to the time display when short enough", and "wraps when it hits the center line instead of overflowing".
Fixes: 367054151
Test: manual, in English & Danish
Flag: android.app.modes_ui
Change-Id: I106864d6fb09aeac5fcc8d22e8d3d67b1b31ce4e
Passes the key for the ZenModesListAddModePreferenceController into the
constructor, to be supplied from the Fragment.
Flag: android.app.modes_ui
Bug: 361144180
Test: atest ZenModesListAddModePreferenceControllerTest
Change-Id: I23d5c11f8676b9ed2bde807e24f20346444e7963
Add an error dialog to help user recover from biometric error for
identity check feature
Flags: android.hardware.biometrics.flag.mandatory_biometrics
Fixes: 358641110
Fixes: 358179610
Test: atest DevelopmentSettingsDashboardFragmentTest
Change-Id: I6099bc57672b945fa4fa4de98be35bd097403b22
Makes ZenModesListAddModePreferenceController extend
BasePreferenceController. This should fix warning statements, and has
the effect of adding "Create your own mode" to the Settings Search menu.
Test: build+flash
Bug: 361144180
Flag: android.app.modes_ui
Change-Id: Ic8675420b831818f658506f36938f38e803cc9aa
There will be lots of flags for catalyst, create a dedicated aconfig
folder to maintain the catalyst flags.
Bug: 335132588
Flag: EXEMPT Move aconfig flag
Test: Presubmit
Change-Id: I3806320b16b464e29311d74a3941b40ce5051702
- If uri is empty it will cause ActivityNotFoundException when calling startActivity
Bug: 363782926
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiDetailPreferenceController2Test
Change-Id: I48b9a53afe08a7c5e8e512c1961d6aea22a12a21
The volume bars with layout preference_volume_slider won't align title text right in RTL mode (Force RTL layout direction is Developer options),
e.g. Sound & vibration page, Audio sharing page.
Test: manual
Bug: 359514080
Flag: EXEMPT minor layout change
Change-Id: I43daa46438e3fa0a879d831a97d05b31c7dcb52f
Otherwise the DataUsageList page will be closed since no active sub has
id = 0.
Bug: 348118234
Flag: EXEMPT bug fix
Test: manual - on DataUsageSummary
Test: atest DataUsageSummaryTest
Change-Id: Ic8387e4fbfe0f0027e87e545be9d7e92ae771136
This CL shuffles quite a bit of code around, but the effective differences are:
* Unified shortcut updating code (language switch & backup restoration).
* Shortcuts are also updated on boot (flagged by MODES_UI which will need this).
* Removed usage of (long obsolete) AsyncTask.
A further CL will add some special-casing for the DND->Modes shortcut transition.
Bug: 365545604
Test: atest com.android.settings.shortcut + manual (switch language, reboot)
Flag: android.app.modes_ui
Change-Id: I30450d13cb05008d2a71ed89d4781eb81e5532b9
Bug: 326233533
Flag: EXEMPT low risk
Test: Mannual. Search TalkBack in Settings app, the Icon shows up
correctly. Search "Turn on TalkBack" in assistant app, the Icon is not
affected.
Change-Id: I6c15a13b4e7dd56f873124ae5722f15f2447f5b4
Placeholders and percentage formatter are best practice to help prevent
accidental translation errors, especially when mixing formatted strings
with literal percent signs.
Fix: 366201919
Flag: EXEMPT minor string format fix with no functionality change
Test: Use TalkBack to observe the state description of the seekbar;
observe description is unchanged (e.g. "60% left, 40% right")
Test: atest BalanceSeekBarTest
Change-Id: Ie9dcc9219d253795be31b39279ed9d01d8794f66
Bug: 354076686
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Test: Search Project Relate and verify the item shows up in the search
result
Test: Search Talkback with keywords, verify the Talkback shows up in the
search result
Test: atest AccessibilitySettingsTest
Change-Id: I258ecb0928308b7cde30c12104408e11cc25ecd5
These aren't in scope for the modes_ui release
Test: N/A
Flag: android.app.modes_ui
Bug: 354141067
Change-Id: I28887d766cde2d6a4e18a66a99d1625f80aa0667
Test: chage languages in Settings, search for a mode by name
Bug: 354141067
Flag: android.app.modes_ui
Change-Id: If12d76d268134e415510304278441a53d76af36d