Commit Graph

146226 Commits

Author SHA1 Message Date
Matthew DeVore
d73552fca5 Merge "Simplify pane sizing and scaling algorithm" into main 2025-01-31 10:30:40 -08:00
Treehugger Robot
089ce7465d Merge "Flag cleanup in Settings: keyboard_layout_preview_flag" into main 2025-01-31 09:02:36 -08:00
Treehugger Robot
8a53aecafe Merge "Support finishing Fingerprint Settings if TIMEOUT" into main 2025-01-31 05:53:12 -08:00
Matthew DeVore
fe0c780928 Merge "Make topology hint readable when block is under it" into main 2025-01-30 14:52:19 -08:00
Matthew DeVore
a23e3cb774 Simplify pane sizing and scaling algorithm
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
2025-01-30 20:37:03 +00:00
Jack Yu
3d0d0f9d66 Merge "Cleaned up the flag enable_identifier_disclosure_transparency_unsol_events" into main 2025-01-30 12:18:58 -08:00
Guojing Yuan
69f3696e4f Merge "[CDM] Checks NLS component name instead of package name" into main 2025-01-30 09:05:26 -08:00
Hani Kazmi
95aa9f0093 Merge "[AAPM] Add help uri" into main 2025-01-30 08:56:55 -08:00
Hani Kazmi
3bfa1734b4 [AAPM] Add help uri
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
2025-01-30 08:55:54 -08:00
Shawn Lin
e06acaab1d Merge "Fixed userId not updated when user changed" into main 2025-01-30 05:44:44 -08:00
Aishwarya Mallampati
b6a964815e Merge "Do not show satellite messaging in sim settings if sms is not supported" into main 2025-01-29 23:07:15 -08:00
Treehugger Robot
2d8cd122e4 Merge "Explicitly keep default constructor in rules without members" into main am: cfc4d29e89 am: 7b2b283d00
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3438521

Change-Id: I61a07cadccd4b7f143c883d8e27342d857694456
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-29 23:06:03 -08:00
Treehugger Robot
7b2b283d00 Merge "Explicitly keep default constructor in rules without members" into main am: cfc4d29e89
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3438521

Change-Id: Ifbe6a637d95fda5346b93c8c86f175b9463ecde2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-29 22:42:06 -08:00
Treehugger Robot
cfc4d29e89 Merge "Explicitly keep default constructor in rules without members" into main 2025-01-29 22:17:01 -08:00
Shawn Lin
43b3159db2 Fixed userId not updated when user changed
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
2025-01-30 04:13:19 +00:00
Aishwarya Mallampati
d7769ad180 Do not show satellite messaging in sim settings if sms is not supported
Bug: 393181741
Test: 393186308
Flag: EXEMPT bugfix
Change-Id: I1cb1d22541ba68ce20a0fd9319ddb2d5fc5d6715
2025-01-29 23:27:36 +00:00
Matthew DeVore
015d944238 Make topology hint readable when block is under it
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
2025-01-29 22:13:59 +00:00
Jack Yu
6e26457b84 Cleaned up the flag enable_identifier_disclosure_transparency_unsol_events
Cleaned up the 24Q3 flag
enable_identifier_disclosure_transparency_unsol_events

Bug: 276752426
Test: Basic telephony functionality tests
Test: atest FrameworksTelephonyTests
Flag: EXEMPT removing flag
Change-Id: Ia96d406bd354f766e57363b74700ca07ac79c895
2025-01-29 14:07:28 -08:00
Pierre Barbier de Reuille
574ba31dd3 Merge "Update when Desktop Mode Dev Option is enabled by default." into main 2025-01-29 12:39:46 -08:00
Yomna N
aea18e40d0 Merge "Fix broken Safety Center redirect when SafetySourceData is null" into main 2025-01-29 12:13:17 -08:00
Shawn Lin
99ff9245a6 Merge "[Gaze] Support Gaze" into main 2025-01-29 06:40:44 -08:00
Vaibhav Devmurari
9ffa4d241f Flag cleanup in Settings: keyboard_layout_preview_flag
Test: manual
Bug: 293579375
Flag: EXEMPT cleanup
Change-Id: I1f13ab0ab46883622d024f982faba26b1dce0152
2025-01-29 03:54:40 -08:00
Pierre Barbier de Reuille
0a49a01210 Update when Desktop Mode Dev Option is enabled by default.
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
2025-01-29 10:35:37 +00:00
Jack Yu
5161aff82e Merge "Cleaned up the flag enable_identifier_disclosure_transparency" into main 2025-01-28 18:09:37 -08:00
Riley Jones
6e12194015 Merge "Disabling elements on the A11y Shortcut setting subpage" into main 2025-01-28 13:24:42 -08:00
Guojing Yuan
f5ed187ffb [CDM] Checks NLS component name instead of package name
Bug: 386216637
Change-Id: I1be52fcb3d52b8b84353ea00fd57d8360ddd966c
Flag: EXEMPT bugfix
Test: CTS
2025-01-28 11:57:16 -08:00
Matthew DeVore
ec58402c03 Merge "Apply display density to topology pane scaling" into main 2025-01-28 11:39:34 -08:00
Bill Yi
4170e612ee Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-01-28 11:19:31 -08:00
Bill Yi
eccd02caf6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-01-28 11:19:31 -08:00
Bill Yi
caffee522f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-01-28 11:19:31 -08:00
Zhou Liu
56170c3f53 Merge "Create "Manage PIN" settings UI menu" into main 2025-01-28 10:48:39 -08:00
Matthew DeVore
e22d46aa9b Apply display density to topology pane scaling
Account for high DPI screens in topology pane scaling.

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
Change-Id: I192fccd402c20e00beacdb5ad55eed406252eb93
2025-01-28 17:24:05 +00:00
Yvonne Jiang
bf54835a94 Merge "Add handling for main Supervision settings toggle." into main 2025-01-28 08:23:39 -08:00
Yvonne Jiang
4f74b50b3a Add handling for main Supervision settings toggle.
This change introduces the basic behavior for the main toggle switch to
enable supervision. There is currently no PIN setup dialog when the
toggle is clicked. That will be added as a follow-up.

Intake bug: b/379312924

Change-Id: I75d6b2de1a7234c6da26fcdcf1d933eed3106a8c
Test: atest SupervisionMainSwitchPreferenceTest
Bug: 392694561
Flag: android.app.supervision.flags.enable_supervision_settings_screen
2025-01-28 02:35:14 -08:00
William Leshner
5035bede60 Merge "Add "Hub Mode" settings to mobile settings." into main 2025-01-27 20:28:02 -08:00
yomna
d4dc1fed9e Fix broken Safety Center redirect when SafetySourceData is null
Bug: b/373942609
Test: m & atest CellularSecurityPreferenceControllerTest
Flag: EXEMPT bugfix
Change-Id: I2373ccb5cb51bca23815db9f7645efccc3e0cd88
2025-01-28 02:06:27 +00:00
Chris Antol
5267b2c3e3 Merge "Update permission for accessing Brightness Level" into main 2025-01-27 17:59:48 -08:00
Zhou Liu
82356f6e93 Create "Manage PIN" settings UI menu
Test: atest SupervisionPinManagementScreenTest
Test: manually on real device
Bug: 390186179
Flag: android.app.supervision.flags.enable_supervision_settings_screen
Change-Id: Ib53dce2a32fe9551e8877145a61c8834505d389d
2025-01-28 01:12:22 +00:00
Bill Yi
155731f7bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia200fb7fe94f59bfa1792af3c58472fc538a93a5
2025-01-27 14:36:52 -08:00
Bill Yi
e83d5c846c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id318dd89a29ac9cacdc0128a6fbb532424c2b30b
2025-01-27 14:34:45 -08:00
Bill Yi
5f462a6ffd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia43eb13bc7f08a77cf1731fe5bbf6b50f3e849bf
2025-01-27 14:33:07 -08:00
Jack Yu
506c3e04e3 Cleaned up the flag enable_identifier_disclosure_transparency
Cleaned up the 24Q3 flag enable_identifier_disclosure_transparency

Bug: 276752426
Test: Basic telephony functionality tests
Test: atest FrameworksTelephonyTests
Flag: EXEMPT removing flag
Change-Id: Id3355ef2416f75df8ca43cc4d261583e92c17fba
2025-01-27 14:14:45 -08:00
Matthew DeVore
96d615ad18 Merge "Avoid removeall calls for external display" into main 2025-01-27 13:36:22 -08:00
Chris Antol
5015b5c549 Update permission for accessing Brightness Level
Bug: 388372939
Flag: com.android.settings.flags.catalyst_display_settings_screen
Test: atest PreferenceServiceTest
NO_IFTTT=Not applicable to preference controller

Change-Id: I7126ca56eb19fd113ad64eed1417651758711f3f
2025-01-27 13:30:24 -08:00
Michael Checo
3c357edc9f Merge "Reference correct controller in mouse pointer speed slider" into main 2025-01-27 10:37:27 -08:00
Michael Checo
09fa6131cb Reference correct controller in mouse pointer speed slider
Bug: 392153750
Test: Verified on DUT
Flag: EXEMPT refactor
Change-Id: I13351720e441483ab373e81198c3f113fbd41ea1
2025-01-27 10:37:05 -08:00
Oleg Blinnikov
38355abb6f Avoid removeall calls for external display
Change-Id: I7af509bc0bd559b9ad7c9d7e182b443a4db8d220
Test: atest ExternalDisplayPreferenceFragmentTest
Test: manual
Bug: 388545356
Bug: 384741618
Flag: EXEMPT bugfix
2025-01-27 11:52:40 -06:00
Treehugger Robot
ff58281ac6 Merge "Quick fix to Modes Special Access page titles" into main 2025-01-27 08:44:09 -08:00
Matías Hernández
df3e6a1572 Quick fix to Modes Special Access page titles
Fixes: 392594926
Test: manual
Flag: EXEMPT Minor fix
Change-Id: Id5294c41a3c515ce9ae7fef768c1693ade0f8191
2025-01-27 16:41:01 +01:00
Treehugger Robot
532bd7f19e Merge "Add initial settings for summarization" into main 2025-01-27 07:04:49 -08:00