Commit Graph

138799 Commits

Author SHA1 Message Date
josephpv
c1fd5ad1ec Change to add temp GAIA education screen and swap account and lock flow
The change does below things:
- Interchange account and lock setup in PS setup
- After profile creation checks if network is present and starts new
  GAIA education screen
  If network is not present on device skips account login and shows lock setup screen.
- Adds a temp GAIA education screen before starting of account login which can skip to
  lock setup or start account login

Recording link : b/326389818#comment5
Screenshot : go/ss/7qWLUF4WDHFBQzi.png
go/ss/A8EvoCFJwihaTQP.png

Bug: 326389818
Test: Manual
Change-Id: I91e3591c60aae22fc10058fb94dcb624573d2e37
2024-02-28 06:46:49 +00:00
Chaohui Wang
758e3828b3 Disable app data usage if all time usage is 0
Otherwise user can open an empty App data usage page.

Bug: 292346951
Test: manual - on Mobile Settings
Test: unit test
Change-Id: I63c3e06af2606c3e2017f2440addb2ac2d9d775b
2024-02-28 13:17:28 +08:00
Jason Hsu
429291b70a Merge changes Id1ed4455,I73e62733 into main
* changes:
  Make Preferences more visible with colored rounded rectangle background and an arrow icon
  Provides BackgroundPreference that can set background statically or dynamically
2024-02-28 04:01:06 +00:00
marcusge
7fb14e1e54 [Accessibility] Migrate high text contrast under feature flag
Add Maximize Text contrast into contrast screen and hide it in "Display size and text" under feature flag

Test: manually
Bug: 241805782
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I69049a136beba00a311c3c94fc9a49b0219a870e
2024-02-27 23:59:32 +00:00
Priyanka Advani
08b25d04ff Merge "Revert "Reroute contactless payment fragments to nfc settings when"" into main 2024-02-27 23:46:14 +00:00
marcusge
cddd7b3660 [Accessibility] Add contrast control screen UI and setup entry point
Bug: 241805782
Test: atest, local raven device
Screenshot: attached on bug
Flag: aconfig
com.android.settings.accessibility.enable_color_contrast_control

Change-Id: I7fcc01b822b460c6585c41a5831575ba0ffbcc93
2024-02-27 23:36:52 +00:00
Priyanka Advani
e5b37ef065 Revert "Reroute contactless payment fragments to nfc settings when"
This reverts commit c6eef3a13a.

Reason for revert: Likely culprit for b/327263772. Will be verifying through ABTD for confirmation and before submitting the revert.

Change-Id: I7ebc2021835a0c388ed7e82880d19da194f13ad2
2024-02-27 23:06:54 +00:00
Srinivas Patibandla
11c45862d8 Merge "[Hide DCK Device] Move the aconfig flag for hide DCK device feature to settingslib" into main 2024-02-27 22:52:00 +00:00
Riley Jones
8dbdb4ecef Merge "Fix for EditShortcutsPreferenceFragmentTest to mock the correct AccessibilityTarget fields" into main 2024-02-27 21:58:50 +00:00
Omer Ozer
d625b72bac Merge "Reroute contactless payment fragments to nfc settings when the wallet role is enabled." into main 2024-02-27 20:47:03 +00:00
Riley Jones
57fe294cbb Fixing typo in the A11y Shortcut edit page
Bug: 323388734
Test: N/A
Flag: N/A
Change-Id: I4e55c14f6fc0429689ae72164ac8716cce1bb8b8
2024-02-27 20:18:16 +00:00
Srinivas Patibandla
85f941f9c3 [Hide DCK Device] Move the aconfig flag for hide DCK device feature to settingslib
Test: atest: com.android.settings.bluetooth.ConnectedBluetoothDeviceUpdaterTest
Test: atest: com.android.settings.bluetooth.SavedBluetoothDeviceUpdaterTest
Bug: 323298503
Bug: 324475542
Flag: ACONFIG com.android.settingslib.flags.enable_hide_exclusively_managed_bluetooth_device DEVELOPMENT
Change-Id: I558b749501807afcea7c15d94f498f01162a6f1e
2024-02-27 18:53:37 +00:00
Riley Jones
3a5b5a4d2a Fix for EditShortcutsPreferenceFragmentTest to mock the correct AccessibilityTarget fields
Also adds settings a11y tests to TEST_MAPPING presubmit

Bug: 324945360
Test: EditShortcutsPreferenceFragmentTest
Flag: N/A
Change-Id: I8c36031ae33f2d74297ed4bbb0aa4fcbd026db76
2024-02-27 18:13:38 +00:00
Angela Wang
22b3c1fe1d Merge "Updates messages for hearing devices related page" into main 2024-02-27 17:46:57 +00:00
Treehugger Robot
d6006b79f1 Merge "Update the URI data" into main 2024-02-27 15:36:41 +00:00
Angela Wang
6e78a34d9c Replaces HearingDevicePairingDetail with HearingDevicePairingFragment
The new pairing page includes new UI for "See more devices" buttton and
can show MFi + ASHA devices in the pairing list while these devices only
advertise MFi HAS uuid in pairing mode.

As allowed by "Flag Cleanup Policy", this change finishes the rollout of trunkfood flag new_hearing_device_pairing_page by defaulting to the "true" state.

Bug: 307473972
Test: atest HearingAidPairingDialogFragmentTest
Test: atest AddDevicePreferenceControllerTest
Change-Id: I6c3377d535139d62791548557c581317d1878e9d
2024-02-27 14:28:59 +00:00
Angela Wang
a32ebfb5a4 Merge "Redirects to connected devices page in a11y pairing page" into main 2024-02-27 14:25:21 +00:00
Chaohui Wang
3410c48cad Merge "Set preferred network types on background thread" into main 2024-02-27 12:28:37 +00:00
Angela Wang
956168070e Updates messages for hearing devices related page
1. Removes the footer in hearing devices page
2. Moves the footer message to top intro of hearing devices pairing
   page

Bug: 321840161
Test: build pass, only simple UI change
Change-Id: I0554f0e6d12f78c1df3efba23792e9c0dc3f061f
2024-02-27 11:15:22 +00:00
Charlotte Lu
88bc924647 Merge "Change Privacy into full page." into main 2024-02-27 10:11:17 +00:00
Yiyi Shen
807efd2d26 Merge "[Audiosharing] Clean up audio sharing aconfigs in Settings" into main 2024-02-27 09:42:54 +00:00
Chaohui Wang
fa1764baad Set preferred network types on background thread
Also migrate deprecated method to setAllowedNetworkTypesForReason.

Bug: 325549769
Test: manual - on Mobile Settings
Change-Id: If377915ec4ea6267d7b2b2f36f3cb30ba4bab8fe
2024-02-27 17:03:24 +08:00
sunnyshao
ef328465a9 Update the URI data
- Use the new URI to link the resource doc

Bug: 315756311
Test: manual test
Change-Id: Id98cea9a231d2ca62379ebd9792b4d933b583ba5
2024-02-27 16:50:13 +08:00
Chaohui Wang
8c169da968 Merge "Fix Wi-Fi calling option does not appear" into main 2024-02-27 07:44:23 +00:00
Angela Wang
4a2b4a87d7 Redirects to connected devices page in a11y pairing page
With UX flow change, clicking "View more devices" button will redirect to connected devices page rather than connected device pairing page.

Bug: 321840161
Test: atest ViewAllBluetoothDevicesPreferenceControllerTest
Change-Id: Icfc03a463e2aaaf3db3c75524c112028b1fd6655
2024-02-27 07:35:36 +00:00
Yiyi Shen
438a41a184 [Audiosharing] Clean up audio sharing aconfigs in Settings
Bug: 324023639
Test: manual
Change-Id: I4860390590f4f312df7d03490122870488dcf4fe
2024-02-27 13:44:23 +08:00
Wu Ahan
c09f75b005 Use correct string res for FaceEnrollIntroduction#getAgreeButtonTextRes
Flag: N/A
Bug: 326386200
Test: manually
Change-Id: I5fa5ad0d2d46ccbeb06b716c5d47fb0881b078ad
2024-02-27 05:36:31 +00:00
Yiyi Shen
57e70a7523 Merge "[Audiosharing] Clean up audio sharing from Settings" into main 2024-02-27 03:57:40 +00:00
Chaohui Wang
daa509874f Fix Wi-Fi calling option does not appear
After turning on non-DDS sim.

This is because IMS feature takes time to provisioning, and IMS takes
time to become ready.

Before this fix, we do not observe the status.
After this fix, observe the readiness to fix.

Fix: 325414275
Test: manual - turn DSDS on - off
Test: unit tests
Change-Id: If10abdb331da1ff8310e10681d055d7fbe04eaee
2024-02-27 08:11:31 +08:00
Omer Ozer
c6eef3a13a Reroute contactless payment fragments to nfc settings when
the wallet role is enabled.

Bug: 326592915
Test: SettingsRoboTestStub
Change-Id: I06739f5194650281f057bf6299722fae5c6c241c
2024-02-26 23:55:36 +00:00
Joseph Vincent
a6b7dff37b Merge "Change for private space intro screen string changes" into main 2024-02-26 20:24:46 +00:00
Chaohui Wang
383097f192 Merge "Create WifiCallingRepository" into main 2024-02-26 15:53:02 +00:00
Fiona Campbell
20909fa590 Merge "Create EvenDimmerPreferenceController" into main 2024-02-26 14:28:02 +00:00
josephpv
2a431fe8d9 Change for private space intro screen string changes
This includes below changes based on latest UX mocks
- Changes the strings and icon in the intro screen
- Updates the title in Auto advance screens

Recording link : b/326391690#comment4
Screenshots:
go/ss/9xbZP5Lp8j9yh6m.png
go/ss/pvKMNdgu6yt2Xtr.png

Bug: 326391690
Test: Manual, verify the strings are updated as in Mocks
Change-Id: I714919ac1f3d45fa0007395bd17cfb340874ed5a
2024-02-26 14:26:33 +00:00
Chaohui Wang
b4ab4144aa Create WifiCallingRepository
Move Wi-Fi calling related feature into it.

Which simplifies the ImsMmTelRepository, so we can put more
ImsMmTelManager related features into ImsMmTelRepository in the future
cl.

Bug: 325414275
Test: manual - on Mobile Settings
Test: unit tests
Change-Id: I391f43cfa3a79e0c44865050c357ac54346c2fb1
2024-02-26 18:49:20 +08:00
Yiyi Shen
dd7626f55b [Audiosharing] Clean up audio sharing from Settings
Bug: 324023639
Test: atest
Change-Id: Ie73790442f39af60b125bbd48182a700bb0b290a
2024-02-26 17:24:53 +08:00
SongFerng Wang
47905f7af8 Merge "Fixed AutoDataSwitchPreferenceControllerTest" into main 2024-02-26 07:33:55 +00:00
jasonwshsu
d23c2867c6 Make Preferences more visible with colored rounded rectangle background and an arrow icon
Bug: 320709814
Test: atest ArrowPreferenceTest
Change-Id: Id1ed44554010ae0df901cceba2624a1b56661df6
2024-02-26 05:57:11 +00:00
jasonwshsu
6dc0e30b56 Provides BackgroundPreference that can set background statically or dynamically
Bug: 320709814
Test: atest BackgroundPreferenceTest
Change-Id: I73e62733e6afd032ce980a4d6db0f4ca4573e770
2024-02-26 05:56:47 +00:00
Charlotte Lu
8b8a16bc7c Change Privacy into full page.
Test: Visual Test
Fix: 324020620
Change-Id: Ifacbf7eef3b56774c5f891c8cd60ddee2d380632
2024-02-26 04:26:26 +00:00
Rafael Higuera Silva
be3a609c25 Merge "Add new dialogue when user is going to delete sim that use RAC." into main 2024-02-26 04:09:19 +00:00
Yiyi Shen
3caf0c7073 Merge "[Audiosharing] Impl audio sharing feature provider in Settings" into main 2024-02-26 01:58:53 +00:00
Yiyi Shen
42b8fbb74f [Audiosharing] Impl audio sharing feature provider in Settings
Add createAvailableMediaDeviceGroupController interface to provide
different controller in Settings and SettingsGoogle.

Bug: 324023639
Test: atest
Change-Id: Ibf2ea2620c878e609eb937ff6947f5aaa0b89e7a
2024-02-24 07:25:36 +00:00
Manjeet Rulhania
322b905f71 Merge "add sensitive content protection flag to developer option" into main 2024-02-24 00:52:16 +00:00
Rafael Higuera Silva
736df6d2ef Add new dialogue when user is going to delete sim that use RAC.
Test: make
Bug: 316419093
Change-Id: Iaed54afa7cfd20c1dd6adbd4d50f54cab3da095d
2024-02-23 23:11:56 +00:00
Piotr Wilczyński
7291a65093 Merge "Refresh rate preference controllers aware of multiple displays" into main 2024-02-23 23:05:55 +00:00
mrulhania
8925db1c5e add sensitive content protection flag to developer option
Bug: 316955558
Test: atest SensitiveContentProtectionPreferenceControllerTest
Change-Id: Iedbbc9bd3bba00c6aaccc99758abe0b77306da01
2024-02-23 19:50:17 +00:00
Riley Jones
14ec4f08c3 Merge "DragToEdit Dynaimc Title" into main 2024-02-23 19:46:13 +00:00
Piotr Wilczyński
96343a9eff Refresh rate preference controllers aware of multiple displays
Set mPeakRefreshRate in the preference controllers to the highest refresh rate among all the modes of all the displays. It'll then be used to determine two things:
- if the setting is available
- the summary of the setting

This should only be done if the back up smooth display feature flag is enabled. If it's disabled, mPeakRefreshRate is passed to DisplayModeDirector and used for the votes. If the highest refresh rate of one display is 120 and that of the other is 130, we shouldn't set the vote to 130 for both displays. With the flag enabled, DisplayModeDirector figures out the highest refresh rate for each display.

Bug: 310238382
Test: atest PeakRefreshRatePreferenceControllerTest
Test: atest ForcePeakRefreshRatePreferenceControllerTest
Test: atest RefreshRateSettingsUtilsTest
Change-Id: I369927ba22df70958178505d8fc7c5747aaa8fdd
2024-02-23 18:01:22 +00:00
YK Hung
950d9e9fee Merge "Add onClick for CardPreference" into main 2024-02-23 16:01:05 +00:00