Commit Graph

139281 Commits

Author SHA1 Message Date
Tom Hsu
380a136e50 Merge "Settings: Fix force close for telephony callback exceeding limitation" into main 2024-03-25 06:49:08 +00:00
Hakjun Choi
ec735999b0 Fix the Settings to align with the requirements in PRD
Update the guideline string to the latest from UX team.

Bug: 330961550
Test: manually testing from pixel device
Change-Id: Ic6eb4ba2a85cbfc5544182f30fe645283084084a
2024-03-25 06:09:26 +00:00
Haijie Hong
c1a5a7c9b1 Disable media output switcher in Settings when audio sharing
Bug: 327080094
Test: atest MediaOutputPreferenceControllerTest
Change-Id: I1e81d507c5c92c2b6f21494551931b359d5043cb
2024-03-25 14:01:35 +08:00
Ze Li
24652df671 Merge "[PairDevicePage] Add content description so that the loading icon will be announced." into main 2024-03-25 05:36:34 +00:00
Fan Wu
c788a90669 Remove all LooperMode.LEGACY usages from settings/accessibility
Bug: 331124680

Test: atest
Change-Id: I21cc137358e5cb29c16aeda0b744f36d9f8bf010
2024-03-25 11:42:34 +08:00
SongFerng Wang
a3b28762cb Merge "To gray out the next button if the user does not select two sim" into main 2024-03-25 03:15:08 +00:00
Tom Hsu
af5e80b7d8 Merge "Enforce BaseUserRestriction for DISALLOW_CONFIG_BRIGHTNESS" into main 2024-03-25 03:00:38 +00:00
Yiyi Shen
9ba24a5d2d Merge "[Audiosharing] Support sharing dialog when click media devices." into main 2024-03-25 02:44:35 +00:00
Sunny Shao
8d4ba6d904 Use the correct Edge to Edge flag
- Use the correct flag to fix the navigation bar problem.

Fixes: 330217912
Test: manual test
Change-Id: I37869d5cc713be2b03bc8e9206ff1e0dcee8512e
2024-03-25 09:19:11 +08:00
Rafael Higuera Silva
496075f1be Add new dialogue when user is going to delete multiple sims where aleast on of them use RAC.
Test: make, manually test, atest com.android.settings.network, atest SubscriptionUtilTest
Bug: 328649505
Change-Id: I0c6fb7b5407179ec6850ece47f486b64759e2d1c
(cherry picked from commit 9ac44b3aae)
2024-03-24 23:46:53 +00:00
Himanshu Gupta
8735770fa8 Merge "Disable PS entry point and Activity when PS is not allowed." into main 2024-03-24 14:45:32 +00:00
yomna
3fe5e5f843 Add missing required permissions for Settings
SettingsSpaUnitTests BackgroundInstalledAppsPageProviderTest#title_displayed is failing due to
missing permissions GET_BACKGROUND_INSTALLED_PACKAGES, which is required for the test.

Bug: b/329486029
Test: m & atest SubscriptionInfoListViewModelTest SettingsSpaUnitTests
Change-Id: I88038a5858e9a969ca8e3df6bc4e4e33d753f1e8
2024-03-23 02:22:48 +00:00
Fiona Campbell
4a401d4313 Disable even dimmer setting conditionally
- Disable even dimmer settings option if autobrightness is not enabled
  on the device

Bug:179428400
Test: manual

Change-Id: I8f7add839022fc7c27694fd8daa83a608cf2736a
2024-03-23 02:09:46 +00:00
Jay Sullivan
67a237efca Merge "[ECM] Legacy code: treat DEFAULT as ALLOWED (st)" into main 2024-03-22 19:30:56 +00:00
Samridhi
c635e76d81 Merge "Add order to display settings" into 24D1-dev am: 790abeba56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26639338

Change-Id: Iee8907af5ca2dab78d10b09d96685b9e643d1d1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 18:43:45 +00:00
Samridhi
790abeba56 Merge "Add order to display settings" into 24D1-dev 2024-03-22 18:13:23 +00:00
Treehugger Robot
ee6c2f4669 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod am: 54af04244e -s ours
am skip reason: contains skip directive

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

Change-Id: Ib43c1077bf1061dc271c05134d25348916e83d3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:23:27 +00:00
Bill Yi
a42087eb4c [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3014617f13 -s ours
am skip reason: contains skip directive

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

Change-Id: I4c6d8238e42330eecf139e811cbd0445a76f607a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:23:18 +00:00
Treehugger Robot
4cd174b394 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 3631177673 -s ours
am skip reason: contains skip directive

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

Change-Id: I4680e61155e7ce271c5b32e827a8c1593b2f9afe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:21:35 +00:00
Bill Yi
da422f93f8 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 9e2c703c23 -s ours
am skip reason: contains skip directive

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

Change-Id: Ibf4f580c1bfbe5ec8a4827d86b4f0603d2b08410
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:21:31 +00:00
Treehugger Robot
86e6a5e417 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 55b1a62ed8 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie10d4db541ab41101761a3e9d0480506579cd8ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:21:26 +00:00
Bill Yi
8b0b164dd4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4a21cc3763 -s ours
am skip reason: contains skip directive

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

Change-Id: I0d7a42c090dd77ac21180cb9f201d3f0361c9943
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:20:18 +00:00
Bill Yi
52abce3b4f [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 89ce8faad3 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia5a80f3ad3ebf9e1847a5ae32ecc4240509941fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:20:06 +00:00
Bill Yi
bad339883e [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4ff58f42de -s ours
am skip reason: contains skip directive

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

Change-Id: I0e0f28a73fd8616f79c1218bfca0c538e568a182
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 17:18:29 +00:00
Treehugger Robot
3631177673 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-22 16:39:52 +00:00
Treehugger Robot
55b1a62ed8 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-03-22 16:39:52 +00:00
Treehugger Robot
54af04244e Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-mainline-prod 2024-03-22 16:39:39 +00:00
Treehugger Robot
bc2186f2a6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-22 16:36:40 +00:00
Treehugger Robot
0389cef32f Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-22 16:36:40 +00:00
Treehugger Robot
f9b93ccf15 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-03-22 16:36:40 +00:00
Allen Su
071f1e6331 Merge "[ToA]Cache system gender to reduce unnecessary IPC" into main 2024-03-22 16:15:16 +00:00
Jason Hsu
73706c1d77 Merge "Add intent to open hearing device settings page and pairing page" into main 2024-03-22 15:10:47 +00:00
songferngwang
774b34c56b To gray out the next button if the user does not select two sim
- gray out the next button
- add the format for phone number

Bug: 329535069
Test: manual test. To verify the UI
atest SimOnboardingSelectSimTest

Change-Id: I8dd62e3da9567a518d22d615f6974659900ef1bb
2024-03-22 14:46:17 +00:00
Himanshu Gupta
5e451db395 Disable PS entry point and Activity when PS is not allowed.
In this change we disable:
1. Security Center Entry point
2. PrivateSpaceAuthenticationActivity

when private profile is not present and cannot be added.

Additionally, the intent exposing PrivateSpaceAuthenticationActivity
is also non-exported and changed to a better name.

Bug: 328578044
Test: Manual build and flash
Change-Id: I13d298316c6d719d0b06e4969989ea1da83dd4c6
2024-03-22 13:44:23 +00:00
Yomna Nasser
fe82ebc310 Merge "Guard CellularSecurityPreferenceController with FEATURE_TELEPHONY" into main 2024-03-22 13:41:59 +00:00
tomhsu
7465e27d85 Enforce BaseUserRestriction for DISALLOW_CONFIG_BRIGHTNESS
- For Adaptive brightness

Fix: 330855652
Test: Manual test. see b/330855652
Change-Id: Iea848c9d92abdf152d3eb827fbe1fb141f4687d7
2024-03-22 11:50:22 +00:00
Joseph Vincent
4230ad4b07 Merge "Add a preference in reset options to delete private space" into main 2024-03-22 10:01:19 +00:00
Ze Li
ac55929205 [PairDevicePage] Add content description so that the loading icon will be announced.
Test: manual test
Bug: 318785556
Change-Id: I2f2c584c7e54a3603925a9def55e9bb976b2f36c
2024-03-22 17:38:10 +08:00
jasonwshsu
4fad32be20 Add intent to open hearing device settings page and pairing page
* Hearing devices quick settings tile need to launch related page

Bug: 291423171
Test: Add intent only
Change-Id: I59d2ac06505029852dd6cd2ca16c86f201e4148c
2024-03-22 17:35:51 +08:00
Angela Wang
dc50a50d6e Enable the hyphenation in pin confirm dialog
Bug: 328520865
Test: manually check the UI element
Change-Id: I8e4f08126f53e35aee5fd7a5ada9fcdb63a39bed
2024-03-22 09:35:05 +00:00
Allen Su
ab18169773 [ToA]Cache system gender to reduce unnecessary IPC
Bug: 312324895
Test: atest TermsOfAddressNotSpecifiedControllerTest
atest TermsOfAddressNeutralControllerTest
atest TermsOfAddressMasculineControllerTest
atest TermsOfAddressFeminineControllerTest

Change-Id: Idee2cc1ece673092c94307b8812f032f7826c16a
2024-03-22 09:17:09 +00:00
Sunny Shao
e352753093 Merge "Handle the Edge to Edge problem" into main 2024-03-22 08:28:17 +00:00
Jakub Rotkiewicz
fb5af9a193 [automerger skipped] Merge "Refactor Bluetooth Codec settings to dynamic ListPreference" into main am: b83471f770 am: 47177e048f -s ours
am skip reason: Merged-In Iedbfd01c0d1b59df8a073f4e9aedca3913e6d45f with SHA-1 89612e53d7 is already in history

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

Change-Id: Ie682e6359dc0dc71a7f3fd0efc5d01b94c127a7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 08:27:24 +00:00
Jakub Rotkiewicz
47177e048f Merge "Refactor Bluetooth Codec settings to dynamic ListPreference" into main am: b83471f770
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3008119

Change-Id: I4b6950c4e23599ad50d32ec977653374e8596ad9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-22 08:08:33 +00:00
Jakub Rotkiewicz
b83471f770 Merge "Refactor Bluetooth Codec settings to dynamic ListPreference" into main 2024-03-22 07:51:26 +00:00
Yiling Chuang
38337dc8b8 Merge "Revert "Add a new tip type for wireless charging."" into main 2024-03-22 06:39:08 +00:00
Yiyi Shen
87629f2470 [Audiosharing] Support sharing dialog when click media devices.
Instead of directly stop audio sharing, clicking on media devices will
lead to different sharing dialogs based on different scenarios. The
scenarios are align to cases when a new device is connected.

Test: atest
Bug: 305620450
Fix: 327259953
Change-Id: Ibb591cb1a59f31c8f0be4f3e72e45378b17e3809
2024-03-22 14:11:11 +08:00
Bill Yi
9e2c703c23 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7069c5311a2eea797802799055456fe458a78b6d
2024-03-21 21:14:03 -07:00
Fan Wu
fd882624f9 Merge "Re-enable failed test in FactoryResetPreferenceControllerTest" into main 2024-03-22 04:13:29 +00:00
Fan Wu
e4bfb2d2b5 Merge "Fix test failures under settings/wallpaper" into main 2024-03-22 04:13:11 +00:00