Commit Graph

138731 Commits

Author SHA1 Message Date
SongFerng Wang
f27877d155 Merge changes I0d3c2163,I5602713b,Ica2a26ea into main
* changes:
  Fix PrimarySim show the same sim in the preference list
  Start simOnboarding when active sim > 0
  [SimOnbarding] correct the sim name at the Primary Sim
2024-02-29 03:27:42 +00:00
Fan Wu
cfb73e2dd3 Re-enable failed tests under settings/widget/
The failing tests should be fixed by the underlying test framework updates

Bug: 315133235

Test: atest
Change-Id: I7f5d8f6af9193409253418b02b674a721489eb28
2024-02-29 02:55:06 +00:00
Charlotte Lu
7aee673020 Merge "Add WEP warning dialog disconnect." into main 2024-02-29 02:35:33 +00:00
Fan Wu
4aa67b846f Merge "Fix AppMemoryPreferenceControllerTest" into main 2024-02-29 02:31:37 +00:00
Joseph Vincent
2d8ae9add2 Merge "Update illustrations with fix for weird shape issue" into main 2024-02-28 23:50:07 +00:00
Chris Antol
3711945eb2 Merge "Revert "Finish HomepageActivity when it's not the root of a task and not singleTask."" into main 2024-02-28 23:20:13 +00:00
Riley Jones
d1b7f58e9a Merge "Fixing typo in the A11y Shortcut edit page" into main 2024-02-28 22:35:17 +00:00
songferngwang
bb7360b148 Fix PrimarySim show the same sim in the preference list
Bug: 327425969
Test: manual test, verify the UI
Change-Id: I0d3c2163a43a00ec0e4e627b34281e95cc611751
2024-02-28 22:05:35 +00:00
songferngwang
09603308d4 Start simOnboarding when active sim > 0
If active sim = 0, using old way
If active sim > 0, using sim onboarding

Bug: 324353868
Test: manual test
Change-Id: I5602713b5f4fef0625338787ee0682257e12e34f
2024-02-28 21:23:14 +00:00
josephpv
6920fe543a Update illustrations with fix for weird shape issue
Recording:
https://drive.google.com/file/d/1VSElVIojRriwiTA3E3F8noWkmEPlQWrN/view?usp=drive_link
https://drive.google.com/file/d/1X52v0TsJ2KZJJeQXSdopBqE_IzBxBv0d/view?usp=drive_link

Bug: 326391912
Test: Manual
Change-Id: I43c0d5204c2db10dd04decd5c94cea7f8668bba9
2024-02-28 20:39:32 +00:00
Joseph Vincent
71e2c70225 Merge "Fix for PS setup crash in AOSP build" into main 2024-02-28 20:39:15 +00:00
marcusge
16d82ccd0a [Accessibility] Add basic metrics logging for color contrast
proto was merged in ag/26383954

Bug: 241805782
Test: atest

Change-Id: Ic2e6bcb27aecc386582e6f268d3b4f40387f2742
2024-02-28 20:33:05 +00:00
Chris Antol
778bcee157 Revert "Finish HomepageActivity when it's not the root of a task and not singleTask."
This reverts commit 5a305645c1.

Reason for revert: b/325861149

Change-Id: I4441f939a46bf65514756a015355ea5089147c1d
2024-02-28 19:56:56 +00:00
Rafael Higuera Silva
48fee33ea2 Add new dialogue and RAC logic.
A new dialogue will pop up if the eSIM that is being deleted has carrier
Vodafone DE and does not have wifi connection or connection from another
sim.

Test: make, atest SubscriptionUtilTest and tested manually
Bug: 316419093
Change-Id: I957b67339a0ab651f38984e7d1061a8aff8fe2a1
2024-02-28 19:47:22 +00:00
Marcus Ge
747d0afa21 Merge changes I69049a13,I7fcc01b8 into main
* changes:
  [Accessibility] Migrate high text contrast under feature flag
  [Accessibility] Add contrast control screen UI and setup entry point
2024-02-28 19:38:27 +00:00
songferngwang
e83d8b22bc [SimOnbarding] correct the sim name at the Primary Sim
The user can modify the name at Label sim page. The primary sim page
should show the name which is modified by the user.

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: manual test and verify the UI display the correct name.
Change-Id: Ica2a26ead4ec7d61a59bb3846ea07f278d7a1144
2024-02-28 19:00:39 +00:00
Matías Hernández
9c33280259 Moved zen-conversion-related methods into ZenAdapters
Update calls from Settings.

Bug: 309922141
Test: atest ZenModeHelperTest ZenAdaptersTest
Change-Id: I354dea651a8c6f64eb87fe4bc90dab5ffdf7610f
2024-02-28 17:56:21 +01:00
Angela Wang
a1adf03f06 Updates messages for hearing devices related page
1. Updates hearing device page top intro message
2. Adds back the hearing device page footer with updated message

Bug: 321840161
Test: build pass, only simple UI change
Change-Id: I603630a14ab349d295ab8d5c1a00d841886d8e76
2024-02-28 16:42:08 +00:00
Harry Cutts
659b379f21 Touchpad: remove icons
We don't have an icon for the tap dragging setting, and settings screens
should either have icons for everything or nothing, so we decided to
remove all the icons. For all except ic_trackpad_touch_gestures_inverse,
they're only used in this one location, so the drawables can be removed
as well.

Screenshot: go/b-324058706-icon-removal-screenshot

Bug: 324058706
Test: with a touchpad connected, check that the System > Touchpad screen
      has no icons on it.
Change-Id: I0c0a76c757f568cd20799c53a96cfb895ed00238
2024-02-28 14:40:46 +00:00
Harry Cutts
cf1a34ab93 Touchpad: add tap dragging setting
Screenshot: go/ag-26012379-screenshot

Bug: 321978150
Bug: 324058706
Test: with the flag disabled, check the new entry doesn't appear
Test: with the flag enabled, toggle the setting and check that it
    enables and disables tap dragging (tapping then immediately putting
    your finger back on the touchpad and moving it)
Test: with the flag enabled, check the setting appears in search results
Test: atest SettingsRoboTests:com.android.settings.inputmethod
Change-Id: Iccfbe842ff655ea295edc764cfc400709948df7d
2024-02-28 14:40:35 +00:00
Harry Cutts
3715b07684 Touchpad: add Framework Input team as owners
Also replace references to
frameworks/base:/services/core/java/com/android/server/input/OWNERS with
ones directly to frameworks/base:/INPUT_OWNERS.

Bug: 324058706
Test: none
Change-Id: Ib8943ca749887da7d5eebae908516e86310f2077
2024-02-28 14:37:10 +00:00
Joseph Vincent
1922746789 Merge "Handle listing of private space apps in data usage settings" into main 2024-02-28 14:04:36 +00:00
Chaohui Wang
bbedd98962 Merge "Disable app data usage if all time usage is 0" into main 2024-02-28 12:10:43 +00:00
josephpv
d61b4a418c Fix for PS setup crash in AOSP build
Recording link : b/312454851#comment2

Bug: 312454851
Test: Manual
Change-Id: I2c8f812f0bb75b1d4b41565e8545e83c0a01af09
2024-02-28 11:03:06 +00:00
josephpv
f668b38489 Handle listing of private space apps in data usage settings
Settings->Network & Internet->Internet->Non-carrier data usage
Settings->Newtork & Internet->SIMs->App datat usage

Screen recording link:
https://drive.google.com/file/d/1vQPunoza_eB0hiqJ-Mu_ylDOz2IbKjYQ/view?usp=drive_link

Bug: 324844478
Test: Manual
Change-Id: I020e6bd2a62a342570f2d33765c75b882be3569d
2024-02-28 10:35:36 +00:00
Charlotte Lu
7755dc53b9 Add WEP warning dialog disconnect.
Test: Unit Test
Fix: 318797664
Change-Id: I48dd4ad2783ea4b1f03f2b7c7e0f8716cbb59224
2024-02-28 17:51:20 +08:00
Joseph Vincent
3454f304a2 Merge changes Ic53c42ec,I91e3591c into main
* changes:
  Update illustrations in private space setup and settings
  Change to add temp GAIA education screen and swap account and lock flow
2024-02-28 09:29:00 +00:00
chelseahao
e44cf95424 [Audiosharing] Remove audio streams from settings.
Bug: 324023639
Test: manual
Change-Id: Id1e69422200fdc4b02ac8789ab9370d3ea0448c1
2024-02-28 16:50:45 +08:00
Fan Wu
d7af96ed3d Fix AppMemoryPreferenceControllerTest
Bug: 313582035

Test: atest
Change-Id: I87c273d57d69d5e93d72fb85ea2508b65a9eaeea
2024-02-28 15:51:16 +08:00
josephpv
0809d4dee7 Update illustrations in private space setup and settings
Recording link : b/326391912#comment3
https://drive.google.com/file/d/1Rykqy8iugvVNiE8uW2tgAlFhAypGxhdN/view?usp=drive_link

Bug: 326391912
Test: Manual
Change-Id: Ic53c42ec87fde4f1b8c38634e1e2927b235ff2a3
2024-02-28 06:47:49 +00:00
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
Simon Wingrove
812d880ee7 Prevent full-screen face enroll on tablet
The full-screen flow is preventing ConfirmLock from launching properly.
As an immediate workaround to prevent this, stop launching the intro
enrollment flow as fullscreen.

Test: Manually
Bug: 324018644
Change-Id: I432536fa3a93eebdc8120ee453642e6dee0eff78
2024-02-27 14:40:33 +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