Commit Graph

140019 Commits

Author SHA1 Message Date
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
Bill Yi
2aee850197 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2f35b9f9cdf6da4635366be81f033ed6466bf254
2024-03-21 21:12:36 -07:00
Bill Yi
4a21cc3763 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ied59e1f177db16784d506a9c4bc057aa4dc60ba5
2024-03-21 21:10:17 -07:00
Bill Yi
f56110033f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I57629baa4915f38efa8f70516e2d8c5a1c740871
2024-03-21 21:08:28 -07:00
Bill Yi
89ce8faad3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie07fb2bf6b6d658f075d50e7a1bac7eb81964606
2024-03-21 21:06:59 -07:00
Bill Yi
b9bbd9d6a5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I70ff035fca7e86e0f34f86430ac8a628ad527b15
2024-03-21 21:03:20 -07:00
Bill Yi
4ff58f42de Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ida3e818122c39bcd2863fad12e017f84f53c77a0
2024-03-21 21:01:31 -07:00
Bill Yi
3014617f13 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4ff8f127353a3807c0264b05d88c5f42ac467bd3
2024-03-21 21:00:00 -07:00
Xinyi Mao
7f1a96537b Merge "Fix talkback focus on "Less than a min"" into main 2024-03-22 03:28:11 +00:00
Jay Thomas Sullivan
f8b405462a [ECM] Legacy code: treat DEFAULT as ALLOWED (st)
This modifies pre-flag behavior so that MODE_DEFAULT (of
OP_ACCESS_RESTRICTED_SETTINGS) is treated the
same as MODE_ALLOWED.

The reason is that we've change the default op mode (of
OP_ACCESS_RESTRICTED_SETTINGS) to MODE_DEFAULT. Since legacy code
doesn't understand what MODE_DEFAULT means, we need to mitigate the
impact of reverted flags.

Bug: 329488185
Test: atest SpaPrivilegedLibTests
Test: atest
com.android.settings.applications.specialaccess.notificationaccess
Test: atest com.android.settings.datausage
Test: atest PremiumSmsAccessTest
Test: atest RestrictedPreferenceHelperTest
Test: atest
CtsPermissionUiTestCases:android.permissionui.cts.EnhancedConfirmationManagerTest

Change-Id: I957c75870018a9d4d2d2e122ee3bb2252b338cb2
2024-03-21 20:24:29 -07:00
Yiling Chuang
21b1efa944 Revert "Add a new tip type for wireless charging."
This reverts commit f709de6d27.

Reason for revert: feature no longer needed

Change-Id: Ie5aab651406d1085c363c73559197eee2b178da4
2024-03-22 03:08:03 +00:00
Edgar Wang
1a683a1007 Merge "Listen Developer option enable state" into main 2024-03-22 01:13:17 +00:00
josephpv
43c8d3a3f8 Add a preference in reset options to delete private space
This takses care to add an entry point in Settings->System->Reset
options->Delete private space when private space feature is supported on
the device. Entry point appears both when private space exists and also
when private is not created.
On selecting asks for user authentication and on successful
authentication using device lock shows a dialog asking for
confirmation and calls for deletion private space.

Based on this entrypoint it would not be possible to guess if private
space exists on the device.

Recording link : b/329041740#comment3

Bug: 329041740
Test: atest ResetOptionsDeletePrivateSpaceControllerTest and verified
this doesn't give away existence of private space

Change-Id: I9a5b908e7a3f9edaf609cf7e6a87f9842d689ce6
2024-03-21 21:54:52 +00:00
Andy Wickham
9aa1c402ae Allows for system navigation settings to be added dynamically.
This allows for controller-backed preferences to be added or
overridden via xml.

Similarly, if the controllers cause all of the preferences for
2 or 3 button nav to be unavailable, we hide the settings button.

Bug: 324036308
Test: Manual and unit tests
Flag: NA
Change-Id: I2371f3173076172489966728ac69c8767570cd56
Merged-In: I2371f3173076172489966728ac69c8767570cd56
2024-03-21 20:31:06 +00:00