Per go/android-naming these strings should be lowercase when
used in the middle of a sentence because they are generic
descriptive names and not branded names.
Bug: none
Change-Id: I0508a5cbdba20a1bd2d6db66e0e7183845e503ad
Test: build & install & check string
Flag: EXEMPT low risk bugfix
Fix the old tests that fail when the new lock screen notifications
settings page flag is enabled.
Fix: 393631085
Flag: com.android.server.notification.notification_lock_screen_settings
Test: LockscreenNotificationMinimalismPreferenceControllerTest,
RedactNotificationPreferenceControllerTest,
ShowOnlyUnseenNotificationsOnLockscreenPreferenceControllerTest
Change-Id: I427ce675721c6d4df6451deebfcb6e4c06c72c37
For products that have the "device" type, define tethering strings that
do not use the default "phone" string.
Bug: 393312760
Test: Manually verify UI. See screenshot in bug.
Flag: EXEMPT bugfix
Change-Id: I1e8bf814220d5414e4138fab018bd3593e96bcb6
Do not show External Displays entry point unless one (or more) external
displays is actually attached.
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Test: atest ExternalDisplayPreferenceFragmentTest.java
Test: attach one external display and open CD settings - verify the topology pane is shown
Test: add and remove an external display and verify the connected device entry point is added and removed
Change-Id: If263e98aeaf7be2778c1e8a1cbafc7e2345bb0c5
The same flag is being (correctly) added in onCreate, so on top of being wrong this was also completely unnecessary.
Bug: 368579654
Test: manual
Flag: EXEMPT bugfix
Change-Id: I539fca77a1d136bdd0e4892993020884430b8a4e
Merged-In: I539fca77a1d136bdd0e4892993020884430b8a4e
(cherry picked from commit e0510a62eb)
1) A missing controller key for CellularSecurityEncryptionDividerController
was causing the corresponding UI element's getAvailabilityStatus to not
be called. 2) The inclusion of onCreatePreferences in
CellularSecuritySettingsFragment was causing other UI element's
controllers to not be called correctly.
Bug: b/373942609
Test: atest CellularSecurityPreferenceControllerTest
Test: atest CellularSecurityEncryptionDividerControllerTest
Flag: EXEMPT bugfix
Change-Id: Ic01a609311d7bd84ee835ffbede793fe2d7756ae
Simplify the scaling parameters and algorithm and reduce vertical
padding.
Originally a maxBlockRatio was specified at .12, which would have
caused a block length to typically be 2560 * 0.12 = 307. However, this
fails to account for smaller displays and high-DPI displays which have
smaller dip dimensions. So instead choose a maximum edge length of
256dp, which I have found to give good results on a laptop device
and a high DPI tablet, and which does not assume typical sizing for
configured displays, and still accomplishes the purpose of limiting
scrolling and dragging size.
Using the aspect ratio of the display bounds in setting the height
frequently caused a very large amount of padding, and limiting based on
the max block height only reduced it slightly. Now we set the vertical
height based on the minEdgeLength. This length is considered the
smallest size that can be comfortably interacted with, and we use it to
give ballpark ideal padding size.
Note that the unit test cases have increased pane height but in
practice (real-world pane width and constraints) this change seems to
decrease the pane height in general.
Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Test: atest DisplayTopologyPreferenceTest.kt
Test: atest TopologyScaleTest.kt
Test: compare appearance on mid-dpi and high-dpi screens with a single 1080p external display, or with two external displays of smallish logical size
Change-Id: Id189892c88a1e833c1f54b0e5447a15f92e3310f
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
- Extra dim setting now operates in percentage of the device's
capabilities
- ie "100" now means the maximum possible dimming on the current device,
if restored to another device, this means the max possible dimming on
that device as well.
Bug: 337351445
Flag: EXEMPT bugfix
Test: atest DisplayServiceTests
Test: atest ReduceBrightColorsIntensityPreferenceControllerTest
Change-Id: I98d0d7af562fdfb2b921746e0e5654bad47b440b
The userId for "Unlock your phone" & "verify it's you in app" settings
in face setting page are not updated correctly when user changed.
Bug: 393236814
Test: Manual - go face settings and enable/disable these two button
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I840eaaab13b8ad9f4e79ae2cf2e47dd22ed2ff8b
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
The new condition requires accessing the context.
Bug: 382238347
Flag: EXEMPT Bug fix
Test: atest DesktopModePreferenceControllerTest
Test: Build and test on devices with only the dev option enabled.
Change-Id: If9cacea948ccee2bc5a5b4fae07f3ad69efb0af2
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