This URL is used by the Advanced Protection dialog to point users to the
AAPM settings page. The resource is empty by default and should be
overriden to get the "Learn More" link to show
Bug:389080341
Test atest GtsFeaturesTestCases
Flag: EXEMPT resource only
Change-Id: I3a9b02c33ba1366a4ca9539f41c0a7da2cac030b
Using the topology pane background color, draw a background behind the
hint text view.
Test: manual
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Change-Id: I7fcee61d53460976b7d5eb10148d79bd2f9252ad
Prevent display blocks from overflowing outside the pane when dragged.
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Test: drag a display block so that it would overflow outside the pane
Change-Id: I326cb28f06914f71535906a0ce3e8fc04a4cb4f3
- Add gaze configs and resources
- Extract the logic for setting/getting gaze out from
FaceSettingsAttentionPreferenceController to FaceAttentionController
Bug: 388686801
Test: make
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I2f45c7b01674a28f7f02f614292331ced355cc6f
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
Elements on the subpage get disabled if there are no enabled shortcut targets for the relevant type.
In the case of A11y button, the items on its fragment become unsearchable when the setting is disabled.
Test: Manually verify conditions described above & in bug
Bug: 349180207
Flag: com.android.settings.accessibility.fix_a11y_settings_search
Change-Id: Id39e2eda6c9d1de4cdbfcbc22b8a1f443e2822d9
- For experssive style, items split into 2 groups. Item "battery percentage" for a single group.
- For original style, reorder the items, sort item "battery percentage" at the last.
Bug: 349652542
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I4a163d075ecd94a8079839dc0ad34dd993a7c725
Add a mirror/extend built-in display switch. Make minor changes to
DisplayTopology.kt for consistency and correctness.
Kotlin requires the two preference key names are different since they
are in the same namespace, so fix the name in the existing
DisplayTopology.kt module.
Make DisplayTopologyPreference responsible, rather than the caller, for
setting its persistence property, since a wrong value may cause unusual
behavior.
The setOrder calls are necessary to prevent the new switch from
appearing below the Built-in display category when a display is
hot-plugged in after showing the UI. We set them on all top-level
preferences (not just the two we are fixing) for consistency.
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest ExternalDisplayPreferenceFragmentTest.java
Bug: b/352648432
Bug: b/366056921
Change-Id: Ib0072dd75066758903cc48c2d1e7142e1d921f67