Commit Graph

144992 Commits

Author SHA1 Message Date
Zaiyue Xue
457029b355 Branch the following two files to make the next cl easy to review.
BatteryHeaderPreferenceController -> BatteryHeaderTextPreferenceController
BatteryHeaderPreferenceControllerTest -> BatteryHeaderTextPreferenceControllerTest

Bug: 372774754
Test: manual
Flag: EXEMPT bug fix
Change-Id: Ifed34f26b8229598050e9ef0da506ec656a78404
2024-11-25 12:44:10 +08:00
Jason Chiu
276ca29b31 Block the content scheme intent in AccountTypePreferenceLoader am: 8fa1dcb034 am: b5bf33ab76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30469374

Change-Id: Ib6eb79eee294ac76553b9393c29929e091036153
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 04:30:41 +00:00
Jason Chiu
f45744f85b Block the content scheme intent in AccountTypePreferenceLoader am: d782f9c4bc am: 13b1a03e27
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30469372

Change-Id: I2a1c33211ac87f310e95a066a9d2000773a75b72
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 04:29:49 +00:00
Jason Chiu
26e1224ea6 Block the content scheme intent in AccountTypePreferenceLoader am: 8fa1dcb034 am: b5bf33ab76
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30469374

Change-Id: I403257d71d74f78cc7166af1c2f940200599b953
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 04:29:32 +00:00
Jason Chiu
13b1a03e27 Block the content scheme intent in AccountTypePreferenceLoader am: d782f9c4bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30469372

Change-Id: Ica809bd3cb36961d20c5fd0f8dd035f6f7169a35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 04:05:17 +00:00
Jason Chiu
b5bf33ab76 Block the content scheme intent in AccountTypePreferenceLoader am: 8fa1dcb034
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/30469374

Change-Id: Ibc5350fee27a89cdf02d82d24bf4834931de4c49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 04:04:39 +00:00
Jacky Wang
1413f7428c [Catalyst] Update ColorAndMotionScreen
Add icon and launch intent for ColorAndMotionScreen, also update the
entrypoint preference key to make it identical with screen key.

Bug: 373451690
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Test: atest
Change-Id: I1040d6fa5e8c89ddb6117a4b7671fd22c5a96578
2024-11-25 11:59:35 +08:00
Haijie Hong
d5c7d17e07 Fix junk when loading more settings item
BUG: 377531818
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib6f97c589473aa0c7576af966a78068da273deec
2024-11-25 11:48:19 +08:00
shaoweishen
2be5ef9426 [Physical Keybaord] Add keyboard touchpad/Mouse page - part1
1. rename TrackpadSetting to TouchpadAndMouseSetting
to match more about usage.

2. Add separated pages for touchpad and mouse.
Gather options from current page and put it accordingly.
Please note that this change only add isolate files for pages
and didn't reference from anywhere, it will be done in next change.

This is part of feature for keyboard setting update.
document: go/new-a11y-touchpad-mouse-page

Bug: 377602364
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I9e18ce3fbc3617bfb6cef3c272f3cfcfd2ff8a37
2024-11-25 03:04:36 +00:00
Chaohui Wang
50bbcbbcb7 Merge "Set InstallUnknownAppsListModel override check" into main 2024-11-25 02:55:30 +00:00
Treehugger Robot
ca4e842d23 Merge "[Catalyst] Add Read/Write permit for AdaptiveConnectivityTogglePreference" into main 2024-11-24 13:55:17 +00:00
Haijie Hong
1cba219eaf Merge "Fix talkback of ANC toggle" into main 2024-11-24 13:39:53 +00:00
Jacky Wang
7763900224 [Catalyst] Add Read/Write permit for AdaptiveConnectivityTogglePreference
NO_IFTTT=Catalyst only

Bug: 368355361
Flag: com.android.settings.flags.catalyst_adaptive_connectivity
Test: devtool
Change-Id: Ie56fa1479b852eeaabe216a91ba74c776c9398cc
2024-11-23 16:01:43 +08:00
Jacky Wang
8e73d0f51e [Catalyst] Update RemoveAnimationsPreference
Bug: 373451690
Flag: com.android.settings.flags.catalyst_accessibility_color_and_motion
Test: atest & devtool
Change-Id: Id648febf32bebb391f1277e28f58ddb0d5130d59
2024-11-23 06:24:13 +08:00
Denis Kuznetsov
851bf18783 Merge "Control user switching UI visibility according to config" into main 2024-11-22 19:22:12 +00:00
Riley Jones
51c3cb49b3 Merge "Top intro shouldn't be searchable" into main 2024-11-22 19:19:00 +00:00
Cam Bickel
330834b819 Cleanup flag "audio_balance_state_description"
Bug: b/319575109
Test: atest BalanceSeekBarTest
Flag: EXEMPT flag cleanup
Change-Id: I5057a7732f5986533ff8a6b0ebf60e8a55a1dc9f
2024-11-22 17:41:25 +00:00
Cam Bickel
de0e5cdff9 Cleanup flag "check_prebundled_is_preinstalled"
Bug: b/353888087
Test: atest AccessibilitySettingsTest
Flag: EXEMPT flag cleanup
Change-Id: Ia16cc83b1d499bac3845c7397ae1ac3e4c97ae91
2024-11-22 17:27:10 +00:00
Treehugger Robot
cdd6530295 Merge "Fix in the scrollable Glif header design, the sub-title can not be read out automatically in the Udfps enrolling page" into main 2024-11-22 17:19:42 +00:00
Camden Bickel
fdd29cdce6 Merge "Cleanup flag "never_restrict_a11y_activity"" into main 2024-11-22 17:03:51 +00:00
Jason Chang
bafd2cf542 Fix in the scrollable Glif header design, the sub-title can not
be read out automatically in the Udfps enrolling page

1. To set focus on description view when turned on A11y &
description view invisible.
2. Get back the hiding description snippet and wrap it by
aconfig flag condition.

Flag: com.android.settings.flags.enroll_layout_truncate_improvement

Bug: 379090673

Test: atest UdfpsEnrollEnrollingView
Test: Build Forrest ROM then check the UI in different scenarios
Change-Id: Ic76c15ccb82998781102492ef9894190aa824218
2024-11-22 15:47:06 +00:00
Harry Cutts
f4d392b278 Disable checkcolor hook
This hook is currently broken (in that it does not fail when a
hard-coded colour is added), and adds 30–40 seconds to the time taken
by repo upload.

Bug: 377902600
Change-Id: I868df74da7e3b6b15e18c9572877dc368ae6f643
Test: Treehugger
Flag: EXEMPT change to pre-upload checks
2024-11-22 12:59:43 +00:00
Shaowei Shen
d54a5716ab Merge "[Physical Keyboard] Add flag for deeplink keyboard layout picker page" into main 2024-11-22 08:33:42 +00:00
shaoweishen
bc2f58f256 [Keyboard Setting] Fix build break from util rename
Bug: 380379870
Test: atest SettingsRoboTests
Flag: NONE, build break fix.
Change-Id: Iab66c248bebd41957805caa88dcb9031fb82afd4
2024-11-22 07:47:02 +00:00
shaoweishen
9a9d099677 [Physical Keyboard] Add flag for deeplink keyboard layout picker page
one pager: go/deeplink_pk_layout_picker

Bug: 345399212
Test: N/A
Flag: com.android.settings.keyboard.keyboard_layout_picker_activity_enabled
Change-Id: Ia5bbef228b5ccf8614ebe29b88d87d116289fc32
2024-11-22 07:13:26 +00:00
Shaowei Shen
038d424c24 Merge "[Keyboard Setting] Rename KeyboardSettingUtils" into main 2024-11-22 06:32:00 +00:00
Bill Yi
dceedf1b81 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I900893da87ca74d06e0cabb8b6aa276ffdc3b495
2024-11-21 21:49:18 -08:00
Chun-Ku Lin
6b28741c38 Top intro shouldn't be searchable
Bug: 380361391
Test: manually search the top intro, it doesn't show up in the search
result
Flag: EXEMPT resource only

Change-Id: Ia69db552faa4238276560172c10684705ef28f5e
2024-11-22 04:49:19 +00:00
Treehugger Robot
9571a0d353 Merge "Fix redirect to Mobile security page" into main 2024-11-22 04:19:44 +00:00
Chaohui Wang
470a4a86af Set InstallUnknownAppsListModel override check
Set switchifBlockedByAdminOverrideCheckedValueTo = false

Since the user actually not allowed to install unknown apps when the
restrictions are enforced, we should display unchecked status.

Fix: 380205192
Flag: EXEMPT bug fix
Test: manual - on Install unknown apps
Change-Id: Ia2b2b6bce8b3b37f153e0c91cbeaf69486501407
2024-11-22 12:10:52 +08:00
yomna
5d8680e193 Fix redirect to Mobile security page
When the user first access the Mobile network security settings, they
should not open in Safety Center even if Safety Center is supported.
Until notifications are enabled for hardware security APIs, they should
open in Settings. This is because the Safety Center redirect will fail
if the Safety Source has not begun providing data to Safety Center. Also
update the relevant unit test.

Flag: EXEMPT bugfix
Bug: 373942609
Test: m & atest CellularSecurityNotificationsDividerControllerTest CellularSecurityNotificationsPreferenceControllerTest CellularSecurityEncryptionDividerControllerTest CellularSecurityPreferenceControllerTest
Change-Id: Ica87be4f1567541a6e3ccbe5dd5b674224aa1d8e
2024-11-22 03:05:17 +00:00
Cam Bickel
4072d43123 Cleanup flag "never_restrict_a11y_activity"
Full flag name: "never_restrict_accessibility_activity"

Bug: b/331990900
Test: atest RestrictedPreferenceHelperTest
Flag: EXEMPT flag cleanup
Change-Id: I365ed105043cb4835075b8b9016b41862f82021c
2024-11-21 23:22:27 +00:00
Xin Li
521a712349 Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: I4e2a72a80f68579d60466e859370b6fd93a8cd23
Change-Id: Ifc87474ccff4172524295035e70916216b41a715
2024-11-21 15:10:02 -08:00
Priyanka Advani (xWF)
d5d59630b5 Merge "Revert "Use flag to control the hierarchy tree changes"" into main 2024-11-21 20:13:20 +00:00
Priyanka Advani (xWF)
2f996492ff Revert "Use flag to control the hierarchy tree changes"
This reverts commit 34ea3dc075.

Reason for revert: Droidmonitor created revert due to b/380258772. Will be verifying through ABTD before submission.

Change-Id: Ife4707fba00b52ade53eb6dc2f4bcd7a466afe0f
2024-11-21 18:57:44 +00:00
Denis Kuznetsov
472e415659 Control user switching UI visibility according to config
Bug: 375394047
Test: atest UserDetailsSettingsTest UserSettingsTest
Test: build platform with config overrides, check the result
Flag: EXEMPT Desktop-only change
Change-Id: Iaf1ac6c98a648066bf77b069039dcd59e243835f
2024-11-21 17:42:00 +00:00
Haijie Hong
170667e52a Merge "Add metrics for new bluetooth device details" into main 2024-11-21 11:50:43 +00:00
Treehugger Robot
0cf659c7b6 Merge "Remove selectability from pointer preferences." into main 2024-11-21 11:50:36 +00:00
Daniel Huang
c1e4b09f9a Merge "Use flag to control the hierarchy tree changes" into main 2024-11-21 10:55:35 +00:00
Jacky Wang
efcb4dfddf [Catalyst] Migrate AmbientDisplayAlwaysOnPreferenceController
As the preference is exported as external settings, for safety, do not
update the preference key with datastore key. As a workaround, manage a
mapping between preference hierarchy key and datastore key.

Bug: 372307567
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Test: devtool
Change-Id: I56126485061859b41216cd23b8e1caf63823a1ec
2024-11-21 13:37:31 +08:00
Jacky Wang
b6132572ea [Catalyst] Migrate "Lock screen" entry point
Bug: 372307567
Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings
Test: manual
Change-Id: I0c269c550c678362f345c9b5438a133c7a76fe10
2024-11-21 10:24:38 +08:00
Chaohui Wang
9b65eafc84 Merge "Update color for reset_esim_desc" into main 2024-11-20 21:56:23 +00:00
Treehugger Robot
c87fd1a92f Merge "Make assistant label generic for AOSP." into main 2024-11-20 18:12:10 +00:00
Bill Yi
f8c309a6e2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-20 17:34:48 +00:00
Bill Yi
3c552c47f7 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-11-20 17:34:48 +00:00
Pat Manning
828578f703 Make assistant label generic for AOSP.
Fix: 379840607
Test: Manual.
Flag: EXEMPT Bugfix.
Change-Id: Id4fe9e603529d71c4cfe6d1cdbf47e836fa73706
2024-11-20 16:37:18 +00:00
Pat Manning
5641752fb1 Remove selectability from pointer preferences.
Fix: 379840620
Fix: 374902522
Fix: 374902467
Fix: 374898232
Fix: 374894728
Fix: 374894804
Test: Manual. Talkback, switch access, voice access.
Flag: EXEMPT BugFix.
Change-Id: I550bd78893124b453d49f98d51dab2f49bee84f7
2024-11-20 16:30:57 +00:00
Haijie Hong
fb2668525b Fix talkback of ANC toggle
BUG: 380022983
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I1d0e763abda32d37af5d7c2d240c429fcc2d39cf
2024-11-20 14:06:36 +00:00
danielwbhuang
34ea3dc075 Use flag to control the hierarchy tree changes
This change includes these:
1. App languages
2.Regional preferences
2-1. Temperature
2-2. First day of week
2-3. Numbering system
3. Terms of address

Bug: 379962955
Flag: com.android.settings.flags.regional_preferences_api_enabled
Test: check hsv and atest TermsOfAddressCategoryControllerTest,
FirstDayOfWeekControllerTest, NumberingSystemControllerTest, TemperatureUnitControllerTest
Change-Id: I9ae376f24ac4d1cf9a186ad3d77b539ac4b83642

Change-Id: I1b2f508f618fba94e67b5f8b102620837a6dda1c
2024-11-20 18:31:00 +08:00
Yiyi Shen
d611829c6b Merge "[Audiosharing] Update dialog style and wording" into main 2024-11-20 10:14:13 +00:00