Commit Graph

138789 Commits

Author SHA1 Message Date
SongFerng Wang
af5bbc5087 Merge "Modify the condition for hide Dds confirmed dialog" into main 2024-02-29 11:27:05 +00:00
Kangping Dong
5fc01ddd6e [Thread] add Thread toggle in settings
Allows a user to disable or enable Thread network / radio from
settings.

In this commit, a toggle is added to Settings > Connected devices >
Connection preferences to control Thread state. See the screenshots
below:
1. Thread is on: https://screenshot.googleplex.com/7FqqbzRX6rGwvSb
2. Thread is off: https://screenshot.googleplex.com/AmfRAhzuukULAAG
3. Thread is disabled by airplane mode: https://screenshot.googleplex.com/7zcesyomrveCqFE
4. Thread is searchable: https://screenshot.googleplex.com/9yFL2jeSuEhJwrS

Requirements:
1. the in-take bug: b/327098435
2. See the screenshot above
3. Test with `atest SettingsUnitTests` and manual tests
4. +2 from Yuwen
5. Flagged by "com.android.net.thread.platform.flags.Flags.thread_enabled_platform"
6. It doesn't need B&R, no preferences are added (the state is in
   Android framework (mainline module))
7. Confirmed searchable
8. Code written in Kotlin

Bug: 296990038
Bug: 319077562
Test: atest SettingsUnitTests
Change-Id: Ifa2264b8e59a5112290fd0224cb75ad228732077
2024-02-29 18:05:49 +08:00
Yiyi Shen
e5302bc1f1 Merge "[Audiosharing] Gates legacy le audio sharing UI in sound Settings." into main 2024-02-29 09:50:42 +00:00
Jason Hsu
8b62b28f28 Merge "Updates messages for hearing devices related page" into main 2024-02-29 09:20:35 +00:00
songferngwang
a9695c40e7 Add the error dialogs
When system activate the sim faild, then it shows the error dialog

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: manual test, verify the error dialog UI
Change-Id: I90d7aa5d3f3ad36d949a505377466f8cdf63b6b4
2024-02-29 09:18:55 +00:00
Fan Wu
c59c3a3d4f Merge "Re-enable failed tests under settings/widget/" into main 2024-02-29 08:53:15 +00:00
Charlotte Lu
823e41ead2 Change WepNetworkDialogActivity exported="true".
Test: Visual Test
Fix: 327310887
Change-Id: Iecc2910eda75f3aad60f4a876b0e1d54d203cd74
2024-02-29 07:51:32 +00:00
shaoweishen
6c02c6ab25 [Physical Keyboard Setting] Update layout for one pane land screen
If device is one pane and is land orientation, set new layout for it to
match with UX markup, this change will not effect on tablet, which is
two pane setting.

Bug: 325878673
Test: verify on device
Screenshot: https://screenshot.googleplex.com/BkETMhqp9GXM3cc.png
Change-Id: I066c3d782a2de8993a3fe9632676b67c2203d638
2024-02-29 07:31:21 +00:00
songferngwang
b8d87d1add Modify the condition for hide Dds confirmed dialog
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: manual test and verify the UI.
Change-Id: I68df36b457ea7479cd6a561f9c2b3c968e14fe44
2024-02-29 07:07:24 +00:00
Hakjun Choi
b35faf0958 Apply satellite feature flag to Settings activity
Added carrier satellite condition to determine whether satellite settins menu should be exposed or not.
if carrier satellite feature is not enabled, satellite settings menu will not be shown

Bug: 327539253
Test: manual test with feature key disabled / enabled condition on pixel
Change-Id: I1abc84c2c47b48c0137274666da37bede10d2ae6
2024-02-29 06:33:53 +00:00
Bill Yi
c3409e893a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I909befed3dd8d9526b67ef764dd5fbecc9125836
2024-02-28 22:22:53 -08:00
Bill Yi
66fa4dd594 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0238b6e6e280c2fda00244061a2728a7e2edc394
2024-02-28 22:21:08 -08:00
Chaohui Wang
e6ad7fc215 Fix Bottom Sheet not in dark theme
Bug: 318310357
Test: manual - on Mobile Settings
Change-Id: I539abdbb4a549decd7c24bcc87ec398a51046cf3
2024-02-29 14:12:41 +08:00
Treehugger Robot
f0e052dc28 Merge "Use correct string res for FaceEnrollIntroduction#getAgreeButtonTextRes" into main 2024-02-29 04:58:12 +00:00
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
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
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