Commit Graph

2800 Commits

Author SHA1 Message Date
Jack Yu
a8db4d190e Removed the flag enable_modem_cipher_transparency_unsol_events
Removed the 24Q3 flag enable_modem_cipher_transparency_unsol_events

Bug: 283336425
Test: atest FrameworksTelephonyTests
Test: Basic telephony functionality tests
Flag: EXEMPT flag cleanup
Change-Id: I08e206d721f99f9422a117dbe009561b434a43bf
2025-02-07 15:41:18 -08:00
Jack Yu
068fbc9860 Removed the tests with flags disabled
Flags are enabled already. The flag disabled tests should be
removed.

Fix: 395131189
Test: atest CellularSecurityNotificationsPreferenceControllerTest
Flag: EXEMPT test fix
Change-Id: I40d5c56956b714ba563cb545807deb1dee9e8d8a
2025-02-07 13:37:25 -08:00
Yuri Ufimtsev
ec78150e69 Merge "Allow the LockPatterUtils to be null" into main 2025-02-06 01:37:56 -08:00
Vitor Carvalho
4f4e2da16b Merge "Fix tests in Settings that break with the changes in ParentalControlsUtils introduced in ag/31121556." into main 2025-02-05 10:36:07 -08:00
Yuri Ufimtsev
55b7b0613d Allow the LockPatterUtils to be null
In some tests it could inconsistently become a null, crashing with NPE, for the reason I can't understand (maybe there is a race condition somewhere between mocking and accessing the LockPatterUtils in such tests)
Let's accept it gracefully

Test: atest SettingsUnitTests
Bug: 382637173
Flag: EXEMPT bugfix
Change-Id: I35d5faa1a29307fc780207a816680a32b2796bc0
2025-02-05 14:38:46 +00:00
Ebru Kurnaz
1d71ed9d3d Merge "Add a preference for display size settings." into main 2025-02-05 03:12:11 -08:00
Shawn Lin
d40442c91f Merge "[Biometric Onboarding & Edu] Update face settings page" into main 2025-02-05 02:52:09 -08:00
Shawn Lin
d747235a4c [Biometric Onboarding & Edu] Update face settings page
- Added a feature provider for face settings page in FaceFeatureProvider
  for customization
- When face is deleted, disabled the settings buttons instead of hiding
  them.
- Updated new UX style for add/remove face button.

Bug: 370940762
Test: atest FaceSettingsEnrollButtonPreferenceControllerTest
            FaceSettingsFooterPreferenceControllerTest
Test: manual - 1. Enroll face
               2. Go Face Settings page and remove face
	       3. Enroll face again
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: I490e647523eeff2dd1a58aab07f638e3e5e0ffb8
2025-02-05 00:57:40 -08:00
Ebru Kurnaz
fb9fdc951b Add a preference for display size settings.
Currently slider is not functioning.

Flag: com.android.settings.flags.display_size_connected_display_setting
Test: atest ExternalDisplayPreferenceFragmentTest
Bug: 392853666
Change-Id: Ibcb55bc939a38dad58451b2a0db4a59f5aa28e5f
2025-02-04 20:37:28 +00:00
Matthew DeVore
883070758b Merge "Show a category for each external display" into main 2025-02-04 10:38:14 -08:00
Treehugger Robot
2d664f308d Merge "Cleaned up the flag enable_modem_cipher_transparency" into main 2025-02-03 23:26:36 -08:00
Shawn Lin
d6e99d3783 Merge "Provide a way to customize biometric SafetySourceIssue" into main 2025-02-03 18:18:37 -08:00
Matthew DeVore
c1191380b8 Show a category for each external display
Rather than show all external displays as a single item each under one
category, each external display has its own category. For now, the
category only has one item: the single Resolution+Rotation option.

This is more consistent with the Built-in display, which also still
only has one preference item in the category.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Bug: b/392946322
Test: ExternalDisplayPreferenceFragmentTest
Test: Open display list with two displays connected, and remove them one at a time
Change-Id: I4d7f8410f506fe53201bc87f8b55ffc6d407a9c5
2025-02-03 20:23:17 +00:00
Fiona Campbell
fb79b1a294 Merge "Make Extra Dim Setting as percentage of device" into main 2025-02-03 09:13:50 -08:00
Shawn Lin
7c3559d37f Provide a way to customize biometric SafetySourceIssue
Add a new FeatureProvider for biometrics in FeatureFactory to provide a way to customize biometric SafetySourceIssue

Bug: 370940762
Test: m Settings
Test: m SettingsGoogle
Test: m SettingsSpaUnitTests
Test: m SettingsRoboTests
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I4d11f3d3522ce5ac2f975cca7c041339f3ea6031
2025-02-02 18:46:25 -08:00
Vitor Carvalho
9ea71fd397 Fix tests in Settings that break with the changes in ParentalControlsUtils introduced in ag/31121556.
Flag: TEST_ONLY
Test: atest CombinedBiometricStatusUtilsTest FaceStatusUtilsTest FingerprintStatusUtilsTest FaceSafetySourceTest FingerprintSafetySourceTest
Bug: 382038943
Change-Id: Id51f8112f6a53c4201061fb7c1e60630a2d9dc02
2025-01-31 15:54:57 +00:00
Jack Yu
1fd847de4a Cleaned up the flag enable_modem_cipher_transparency
Cleaned up the 24Q3 flag enable_modem_cipher_transparency

Bug: 283336425
Test: Basic telephony functionality tests
Test: atest FrameworksTelephonyTests
Flag: EXEMPT removing flag
Change-Id: Ibdb3613d4633535a2d855cc0383c05315ef4e890
2025-01-31 04:47:57 -08:00
Fiona Campbell
fc94995307 Make Extra Dim Setting as percentage of device
- 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
2025-01-30 15:47:27 +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
Yomna N
aea18e40d0 Merge "Fix broken Safety Center redirect when SafetySourceData is null" into main 2025-01-29 12:13:17 -08: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
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
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
Vitor Carvalho
3aaf114753 Merge "Update ParentalControlsUtils to call the new internal API that is aware of SupervisionManager, introduced in ag/31120568." into main 2025-01-27 04:03:47 -08:00
Marzia Favaro
271fb3ea63 Merge "UserAspectRatioManager call AtivityRecord#canBeUniversalResizeable" into main 2025-01-24 02:46:03 -08:00
Riley Jones
94621548c1 Disabling elements on the A11y Shortcut setting subpage
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
2025-01-24 00:59:25 +00:00
Treehugger Robot
3d626d8e8b Merge "Partial flag clean up: Remove large mouse pointer in A11y Setting screen" into main 2025-01-22 10:13:34 -08:00
Marzia Favaro
cc4d5a3b6a UserAspectRatioManager call AtivityRecord#canBeUniversalResizeable
instead of duplicating the method locally.

Fix: 374903057
Flag: EXEMPT same behavior
Test: UserAspectRatioManagerTest
Change-Id: I7b362bf9aaf06e1af0288e0ce8c43e7c3b3472e3
2025-01-22 17:48:32 +00:00
Shawn Lin
047c38856a Merge "[Biometric Onboarding & Edu] move screen lock settings to choose lock" into main 2025-01-21 22:34:40 -08:00
Shawn Lin
d6df87cca6 [Biometric Onboarding & Edu] move screen lock settings to choose lock
- Hide gear menu in LockScreenSafetySource
- Move screen lock settings to ChooseLockGeneric

Bug: 370940762
Test: atest ScreenLockPreferenceDetailsUtilsTest
Flag: com.android.settings.flags.biometrics_onboarding_education

Change-Id: I07c7bb16ecc2ea6e7cd64a4e1d6bf4f493c5b951
2025-01-22 03:28:19 +00:00
Joy Babafemi
64769aae17 Merge "Credential Manager Settings Improvement Bug fixes" into main 2025-01-21 11:12:25 -08:00
Matthew DeVore
7bada83969 Merge "external displays: mirror/extend switch" into main 2025-01-21 10:08:15 -08:00
Shawn Lin
162c250e6a Merge "[Biometric Onboarding & Edu] Support ways to use section for Face & FP" into main 2025-01-19 19:05:07 -08:00
Joy Babafemi
d3807e554d Credential Manager Settings Improvement Bug fixes
Bug: 372715083
Flag: Flag EXEMPT manual tests
Change-Id: I386bc590955d762af0370e7ff5d6fbece55b564d
2025-01-18 01:29:49 +00:00
Matthew DeVore
8f051ce5d4 external displays: mirror/extend switch
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
2025-01-17 21:19:22 +00:00
Treehugger Robot
7ce118d601 Merge "Remove MEDIA_CONTROLS_RECOMMENDATION setting toggle" into main 2025-01-17 12:56:52 -08:00
Treehugger Robot
0035c28540 Merge "Ensure Private profile is present in tests in the FaceFingerprintUnlockControllerTest and re-enable ignored tests." into main 2025-01-17 12:48:26 -08:00
Kasia Krejszeff
39329c219d Ensure Private profile is present in tests in the FaceFingerprintUnlockControllerTest and re-enable ignored tests.
Bug: 323652985
Flag: TEST_ONLY
Test: atest FaceFingerprintUnlockControllerTest
Change-Id: I0c923a95b8b7cf1320b68818e831dea5bb7510bf
2025-01-17 11:45:50 -08:00
Beth Thibodeau
a7e709c07c Remove MEDIA_CONTROLS_RECOMMENDATION setting toggle
Bug: 382680767
Flag: EXEMPT removing deprecated code
Test: build, check media settings page
Change-Id: I6beaafc7b33e4cb0b29c89cc07ce421c32bf4563
2025-01-16 09:14:00 -06:00
Chun-Ku Lin
38ed880811 Partial flag clean up: Remove large mouse pointer in A11y Setting screen
Customization on mouse pointer has been moved to other screen, which is
released in 24Q4. Cleaning up the reference in a11y settings earlier for
cleaner ColorAndMotionScreen catalyst migration.

Bug: 346358375
Flag: EXEMPT partial clan up on android.view.flags.enable_vector_cursor_a11y_settings
Test: build succeed
Change-Id: Ie5c22f6cd1a55102240a86e13f17591e29ddbbf8
2025-01-15 23:29:51 +00:00
Vitor Carvalho
387268db8c Update ParentalControlsUtils to call the new internal API that is aware of SupervisionManager, introduced in ag/31120568.
Bug: 382038943
Flag: android.app.supervision.flags.deprecate_dpm_supervision_apis
Test: atest ParentalControlsUtilsTest
Change-Id: I884aa5f90a298c5e3e0fe85a5944d75234846140
2025-01-15 14:05:11 +00:00
Shawn Lin
2b8a202028 [Biometric Onboarding & Edu] Support ways to use section for Face & FP
Move "Ways to use" section from "Face & Fingerprint Unlock" page to
"Face unlock" & "Fingerprint unlock" pages which means Face &
Fingerprint settings now have their own "Unlock your phone" & "Verify
it's your in app" settings.

Bug: 370940762
Test: atest FaceSettingsAppsPreferenceControllerTest
            FaceSettingsKeyguardUnlockPreferenceControllerTest
	    FingerprintSettingsAppsPreferenceControllerTest
	    FingerprintSettingsKeyguardUnlockPreferenceControllerTest
	    FingerprintSettingsFragmentTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I702da9bb9415b6deb741132ccde6b8be7ae38de0
2025-01-14 05:35:53 +00:00
Elliot Sisteron
2603d5ed75 Following up on comments from ag/31234899.
Lmk if I missed anything.

Bug: 388476345
Change-Id: If4d789abeb984eb0aad7d10dff9b8a366d2f5df1
Test: Treehugger
Flag: com.android.settings.flags.biometrics_onboarding_education
Relnote: N/a
2025-01-13 15:48:22 -08:00
Simon Wingrove
88d40f1c1f Merge "Split biometrics resource into three." into main 2025-01-13 14:35:20 -08:00
Treehugger Robot
73196499c3 Merge "Fix WifiTetherSecurityPreferenceControllerTest bug" into main 2025-01-11 22:11:17 -08:00
Weng Su
8e2441b764 Fix WifiTetherSecurityPreferenceControllerTest bug
Bug: 389096329
Flag: EXEMPT bugfix
Test: Manual testing
atest -c SettingsUnitTests:WifiTetherSecurityPreferenceControllerTest

Change-Id: I71f55d3b091b744d4d98728ab62491f0b1f8cb22
2025-01-11 01:50:21 +08:00
Jan Tomljanovic
406b5dface Split biometrics resource into three.
Bug: 388476345
Test: Treehugger
Flag: com.android.settings.flags.biometrics_onboarding_education
Relnote: N/a
Change-Id: Ie6761f318e64e1cf2782c538d7b6af5b5094faa1
2025-01-10 17:21:13 +00:00
Julia Reynolds
e62afe5aa9 Merge "Layout improvements for notification pages" into main 2025-01-10 06:28:18 -08:00
Arun Voddu
ca666039d8 Merge "[Satellite] Satellite UX changes in SIM settings as per new UX design." into main 2025-01-10 05:11:45 -08:00