Commit Graph

140296 Commits

Author SHA1 Message Date
Bill Yi
a3bc754019 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib9d7e360a7317037c69207731b0616ba2277a1fb
2024-05-03 06:59:04 -07:00
Lais Andrade
699bbe760d Fix feedback for main haptic settings toggle
The SettingsMainSwitchPreferenceController might trigger a state change
twice on the page main switch when the user toggles the setting value.

Make sure we only trigger haptic feedback when the state is changing
between untoggled to toggled to avoid a double-click feedback.

No flag for small bug fix, no UI changes.

Fix: 338334977
Test: enable the "Use vibration & haptics" settings and feel a single
      click feedback
Change-Id: I0c22b99bcb40f35ebe09c153133c354306ed1ff0
2024-05-03 14:56:30 +01:00
Weng Su
a955648be4 Don't set the Wi-Fi dialog to the topmost UI
- Set Wi-Fi dialog to topmost UI only when called by SysUI

Bug: 293965733
Flag: None
Test: Manual testing
atest -c WifiDialogActivityTest

Change-Id: I9215b3e7f86c0d31fa0c4c492f29032c3d14ad6d
2024-05-03 21:12:54 +08:00
Manish Singh
7c7e07fc0a Add a new string for the hide settings
Fix: 333522647
Fix: 338187040
Test: manual
Change-Id: I18fdb3ec8d385588a558706f76437084d43ccc92
2024-05-03 11:55:37 +00:00
Oriol Prieto Gasco
0a441b2f06 RESTRICT AUTOMERGE
Set the container field of aconfig flags

Test: printflags --format='{package}:{container}:' | grep "::"
Bug: 312769710
Flag: NONE
Change-Id: I4fc69f563ead7206ef48278be4fb4cbcfc9cb1f7
2024-05-03 11:42:26 +00:00
Fiona Campbell
e56b0adedd Merge "Add EvenDimmer to a11y settings page" into main 2024-05-03 10:35:31 +00:00
Pajace Chen
c7f595814b Merge "Fix test case failed issue" into 24D1-dev am: df8dc5dc61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27200838

Change-Id: I988aa8852b922f9a05a2352850d803ea3feb7e29
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-03 02:37:33 +00:00
Jason Chiu
41bd910d11 Merge "Check whether the user is a sub profile before starting Settings homepage" into main 2024-05-03 02:14:26 +00:00
Pajace Chen
df8dc5dc61 Merge "Fix test case failed issue" into 24D1-dev 2024-05-03 02:08:09 +00:00
pajacechen
1d03a55ea8 Fix test case failed issue
This test case is not really failed, it doesn't break the functionality
of production code. The reason for failure is caused by the timeZone.
A different timezone could result in a different time string.
So, ignore this test case for now.

Test: Unit Test
Fix: 338343937
Change-Id: Iab0f6f2d454f226568ac09a49ae5372f3a9bc88f
2024-05-03 01:59:40 +00:00
marcusge
dc087a635b [Settings] Migrate color roles to respect color contrast
This change updated color roles in the main Settings page and in the
alert dialogs.

Bug: 335668262
Bug: 335668306
Bug: 335711196
Bug: 335711422
Bug: 335713067
Bug: 335712185
Bug: 335713398
Bug: 335714079
Bug: 335713405
Bug: 335714437
Test: local raven device

Change-Id: I29895ecb869f1053bbcc55ebeb42020e7ce77b8b
2024-05-03 00:11:41 +00:00
Treehugger Robot
7b125fbe7d Merge "Add ActivityOptions to start instant hotspot settings in the background" into main 2024-05-02 22:28:43 +00:00
Weng Su
c5ab12732b Add ActivityOptions to start instant hotspot settings in the background
- Set intent with ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED

Bug: 338244101
Flag: None
Test: Manual testing
atest -c SharedConnectivityRepositoryTest

Change-Id: Ie983758dc039a7bbca80cca478ca23444527089b
2024-05-03 04:26:50 +08:00
Pawan Wagh
570afa5b7d Merge "Apply OTA from /vendor/boot_otas" into main am: 8c85f8b3c3 am: 883f1e9dba
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3065886

Change-Id: I122ccf18200a1fe0f17646c22a9139585cfb4dcc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-02 20:08:49 +00:00
Pawan Wagh
883f1e9dba Merge "Apply OTA from /vendor/boot_otas" into main am: 8c85f8b3c3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3065886

Change-Id: I6bb52915494151ca4cab3508110899f321b239b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-02 19:54:25 +00:00
Pawan Wagh
8c85f8b3c3 Merge "Apply OTA from /vendor/boot_otas" into main 2024-05-02 19:28:44 +00:00
Pawan Wagh
7d0d858136 Make links in dialog text clickable
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Change-Id: I71d4f5cb1e27cd52e6f0c5aaeabc9b3f89520cf1
2024-05-02 18:04:58 +00:00
Fiona Campbell
4c3413b226 Add EvenDimmer to a11y settings page
- Add even dimmer to a11y settings page
- Additionally, use original extra dim icon next to setting to keep
  consistency with the rest of the a11y settings. This is the only
  difference from the setting in settings > Display.

Bug: 336476699
Test: manual
Change-Id: I5c0cb25f2ae61560346d3f051fe5dfec0e404739
2024-05-02 15:23:07 +00:00
Yuri Lin
5e73ecaeaa Merge "Rename ZenMode(s)SettingsBase to ZenMode(s)FragmentBase" into main 2024-05-02 14:28:32 +00:00
Tetiana Meronyk
4e13fdcd37 Remove telephony related settings preferences for HSUM devices
Bug: 338358654
Test: atest UserDetailsSettingsTest
Change-Id: I53c3a8e4386b5d7738caffb42abf15dd33c360c7
2024-05-02 11:57:38 +00:00
Treehugger Robot
be380fd2f1 Merge "Extend the length of the title of the Work profile lock" into main 2024-05-02 09:42:53 +00:00
YK Hung
e1303ffa3a Merge "Update battery saver sticky preference description" into main 2024-05-02 06:07:27 +00:00
Roy Chou
7288884b6e Merge "fix(magnification suw): followTyping preference should be hidden in magnification suw page" into main 2024-05-02 05:44:58 +00:00
Wesley Wang
ea35c281bf Update battery saver sticky preference description
- Refresh the description to make it more clear

Flag: N/A, bug fix
Bug: 331716954
Fix: 331716954
Test: atest
Change-Id: I8acfd1f57f7905f5679a5c8877e2115a14a35806
2024-05-02 11:59:49 +08:00
Jason Chiu
bd74caeb99 Check whether the user is a sub profile before starting Settings homepage
Fix: 336449492
Test: atest SettingsHomepageActivityTest LocationInjectedServicesPreferenceControllerTest UserDetailsSettingsTest ActionDisabledByAdminDialogHelperTest ProfileSelectFragmentTest ProfileSelectLocationFragmentTest
- Start a managed app's info page
- Start a private app's info page
- Switch to a secondary user and start Settings
- Switch to the guest user and start Settings

Change-Id: I1c7c95d95c4739d70839a742ebc4e72b59b1d555
2024-05-02 10:17:28 +08:00
Pawan Wagh
d6941aff34 Merge "Updating strings for 16KB developer option" into main am: ed3a48df6a am: 2c05fc6e52
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3068826

Change-Id: I29ac5e3a183ff0ce79e1cec6f1211eb2a858235f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-01 23:59:57 +00:00
Pawan Wagh
2c05fc6e52 Merge "Updating strings for 16KB developer option" into main am: ed3a48df6a
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3068826

Change-Id: I11d162dcac3ba62aa6b9d3b87473645deacc3242
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-01 23:44:58 +00:00
Pawan Wagh
ed3a48df6a Merge "Updating strings for 16KB developer option" into main 2024-05-01 23:23:32 +00:00
Pawan Wagh
aaa0a3faf5 Updating strings for 16KB developer option
Test: m Settings && adb install -r $ANDROID_PRODUCT_OUT/system_ext/priv-app/Settings/Settings.apk
Bug: 295035851
Change-Id: Ie70b238985b1ccaf3f8893efa6687629d767729e
2024-05-01 21:16:59 +00:00
Dennis Shen
4e139f091b Merge "fix container designation, it should be system_ext" into main 2024-05-01 18:40:13 +00:00
Tetiana Meronyk
dc0c58b427 Make Multiuser toggle disabled for all non-main users
Only let main user (Owner) change state of the toggle
Bug: 336764498
Test: atest MultiUserSwitchBarControllerTest

Change-Id: Ib694d1cb4685764c64633efc090765b470a0a015
2024-05-01 17:21:14 +00:00
Chaohui Wang
377a7a3054 Check isActivationChangeableFlow in SimPreference
Fix: 336209156
Test: manual - SimPreference
Change-Id: I8745e05dbab9701b9c046137fe76d98880a7b20a
2024-05-01 14:15:36 +00:00
Treehugger Robot
72ba6ec2ca Merge "Rename Multiple users page to Users" into main 2024-05-01 09:47:56 +00:00
Dennis Shen
a4e178e6dd fix container designation, it should be system_ext
Bug: b/338095619
Change-Id: I8ee2fd5fad529da2026af77f969abbf88e636ac3
2024-04-30 22:06:28 +00:00
Treehugger Robot
b48c66ebea Merge "settings: Make use of ACTION_NETWORK_PROVIDER_SETTINGS" into main 2024-04-30 21:44:24 +00:00
Joshua Mccloskey
968015c4e6 Merge "Restart fingerprint auth on cancel." into main 2024-04-30 20:51:44 +00:00
Daniel
385f5a0c7b Replace credential provider placeholder
Replace credential provider placeholder with the actual credential
autofill provider.

Bug: 330177328
Test: cts
Change-Id: Ib6c9688b3f728706b1f5ac0faa3f042bb6dc447c
2024-04-30 19:45:55 +00:00
Tetiana Meronyk
177e852ea9 Rename Multiple users page to Users
Ensure it is still searchable by "multiple users" prompt.

Bug: 336764972
Test: manual
Change-Id: I1126bfe601b75532882d6158d82be1a3b566aefc
2024-04-30 18:48:40 +00:00
Yuri Lin
7469ed03de Rename ZenMode(s)SettingsBase to ZenMode(s)FragmentBase
to be more consistent with more Settings usages and with the DashboardFragment class these extend.

Flag: android.app.modes_ui
Bug: 335259054
Test: n/a, just renamed
Change-Id: Ie64c06eb3ed92822ba47cf272f507d4b4a85d11c
2024-04-30 14:22:49 -04:00
Oli Thompson
9b102c8921 Merge "Correctly unlock storage for work profiles with unified challenge" into main 2024-04-30 13:33:47 +00:00
Sunny Shao
2404c74251 Extend the length of the title of the Work profile lock
Bug: 334014101
Test: compilation
Change-Id: If21f222043de3f79dea3ddfec6bdd35c9e2b4034
2024-04-30 18:00:27 +08:00
Manish Singh
54461d2679 Merge "Apply personal filter when private tab not shown" into main 2024-04-30 09:55:34 +00:00
SongFerng Wang
42321d57a1 Merge "Correct the wording of mobile data summary" into main 2024-04-30 09:31:13 +00:00
Chaohui Wang
ad9c64fcdc Merge "Reapply "Create CallStateRepository.isInCallFlow"" into 24D1-dev am: bbc3a352e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27150958

Change-Id: I8398dcad2f0c0da66cf9c579c5adb5f4c91c2e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 08:12:16 +00:00
Chaohui Wang
bbc3a352e3 Merge "Reapply "Create CallStateRepository.isInCallFlow"" into 24D1-dev 2024-04-30 07:47:30 +00:00
SongFerng Wang
07c7cd6702 Correct the wording of mobile data summary
Bug: 337035270
Change-Id: Idc65508e8d4f68376fdfdba873ad049362445ac2
Test: verify the wording
2024-04-30 07:28:09 +00:00
Tom Hsu
219fb8a3f6 Merge "Revert^2 "Add a new warning dialog for Satellite mode"" into 24D1-dev am: 0a8d830616
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27150955

Change-Id: I02b98dfea84be429e9a46dc8d0e3846dda29f203
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 07:24:09 +00:00
Tom Hsu
0a8d830616 Merge "Revert^2 "Add a new warning dialog for Satellite mode"" into 24D1-dev 2024-04-30 07:05:49 +00:00
Chaohui Wang
d3a69e3a58 [automerger skipped] Fix SubscriptionInfoListViewModelTest am: f97e76bc3f -s ours
am skip reason: Merged-In I7a3d27cb53c930a56ab0f0896b545807bf4f9dc0 with SHA-1 10f5bdabb4 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27151176

Change-Id: If7fe3b5301905ae957a1d8f614048cf95a6de853
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-30 04:40:12 +00:00
Chaohui Wang
7bbd8fa4e3 Reapply "Create CallStateRepository.isInCallFlow"
This reverts commit 93e4c65d3d.

Fixed the test by cherry-pick change
I7a3d27cb53c930a56ab0f0896b545807bf4f9dc0.

Bug: 336209156
Test: manual - on MobileNetworkSwitchController
Test: atest SubscriptionInfoListViewModelTest
Change-Id: Id606d6ee90acd8a98de706d8533fed0aac96bff4
2024-04-30 12:33:54 +08:00