Commit Graph

146252 Commits

Author SHA1 Message Date
Rex Hoffman
f4290c1d03 Removing Dead Flag
Test: CI
Bug: 386652866

Change-Id: Ib8a48063738f6362342957b39451a7c352a9a9d5
2025-01-07 14:01:21 -08:00
Lorenzo Lucena Maguire
fbf2a46140 Merge "Support Double Tap Power to open camera via config resource" into main 2025-01-07 12:06:03 -08:00
Wenyu Zhang
9ed3b4fb77 Merge "a11y: Fix Android Lint" into main 2025-01-07 10:26:39 -08:00
Johannes Gallmann
ed8348e161 Merge "Clean up predictive_back_system_anims flag" into main 2025-01-07 08:32:25 -08:00
Kasia Krejszeff
4c9ced02b6 Merge "Remove nested ScrollView in the PrivateSpaceEducation screen." into main 2025-01-07 08:10:34 -08:00
Wenyu Zhang
6e89c83c9d a11y: Fix Android Lint
Add NonNull annotation. Fix Android Lint in http://ag/31174874.

Bug: b/383901288
Change-Id: Ibe296525ebdc298b3b23b8df51bd58218e20b777
Test: ToggleAutoclickCursorAreaSizeControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-07 07:27:46 -08:00
Kasia Krejszeff
e0036fc8b2 Remove nested ScrollView in the PrivateSpaceEducation screen.
It is not needed for the scrolling to work -- GlifLayout from the SUW
library generates a ScrollView. Additional ScrollView causes Talkback to
interpret it as a separate item and read out contents of its all
children. See b/379256039.

Video before: https://drive.google.com/file/d/1H3k5AxlIdgAA15PHUQ9tVq5AechziA4Z/view?usp=sharing&resourcekey=0-ozeQsQSS5jubL0pZ5FAZHA
Video after: https://drive.google.com/file/d/1W_ODgQhbQS6Xf_57A4TcYeJbqMJxYF16/view?usp=sharing&resourcekey=0-zQ0_p3qlIxpBL3rB5SC4vQ

In the before video, talkback is highlighting and (the green frames) and reading out the whole "How it works" section in addition to each element separately. After the fix it only highlights elements separately.

Bug: 379256039
Test: Manually testesd and presubmit.
Flag: EXEMPT bugfix
Change-Id: Idf6772b8772c54c1907d3a12617fcd03451af41b
2025-01-07 14:52:20 +00:00
Alex Stetson
5a594828d7 Allow system services to be optional
Some Android systems may not have certain system services (particularly the VirtualMachineManager). If this is the case, disable the preference rather than requiring the service and crashing the Settings app.

Bug: 388221800
Change-Id: I761054caebe3e846f5c6c76e2818662aad2cb511
Test: manual
Flag: NONE bugfix
2025-01-07 06:42:39 -08:00
Zoey Chen
5f63dd0fdb [Settings] Refactor: Add App language layout
Bug: 388199937
Test: manual
Flag: EXEMPT refactor
Change-Id: I4062bfe0e882a40fb55fbf0b2164b558fe83328b
2025-01-07 03:18:49 -08:00
Shaowei Shen
d44314f253 Merge "[Touchpad and Mouse] Sync strings and prefs" into main 2025-01-07 01:57:29 -08:00
Shaowei Shen
4166f1b7bd Merge "[Physical Keyboard] Add Metrics event for keyboard relates pages" into main 2025-01-07 01:42:25 -08:00
Yuri Ufimtsev
5716bd85f9 Merge "Allow to open Content Protection settings externally" into main 2025-01-07 00:58:53 -08:00
Ze Li
60e13c7928 Merge "[Temp bonding] Hide rename button from device details page for temp bond device" into main 2025-01-07 00:49:02 -08:00
Angela Wang
a6c383eced Remove flag enable_hearing_aid_preset_control
Flag: EXEMPT remove flag
Bug: 388175226
Test: atest BluetoothDetailsHearingDeviceControllerTest
Change-Id: I97b633f32794feb86e5a940448270ed74ed26387
2025-01-07 08:45:14 +00:00
shaoweishen
929056c377 [Touchpad and Mouse] Sync strings and prefs
Sync texts and preferences arrangement in
Touchpad and Mouse related pages.

Bug: 377602364
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I64179cc1a6ab1080160923c2d7d861537991ef97
2025-01-07 08:35:46 +00:00
Treehugger Robot
4371fa05ed Merge "[Thread] update the link for "Learn More about Thread"" into main am: b2a5ee5b76 am: 64eec09358
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3438420

Change-Id: I7993fb4a6cf4f3b8b76276595a87d2e5a981adae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-06 23:37:02 -08:00
Treehugger Robot
64eec09358 Merge "[Thread] update the link for "Learn More about Thread"" into main am: b2a5ee5b76
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3438420

Change-Id: Ie7c1fe6415a528acff18a1130e0b53b5f337ffb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-06 23:12:39 -08:00
Ze Li
205c81ed3a [Temp bonding] Hide rename button from device details page for temp bond device
Test: com.android.settings.bluetooth.AdvancedBluetoothDetailsHeaderControllerTest
Bug: 362859132
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Change-Id: I22d54c322029c606425c8f48b091ad1b53e100de
2025-01-07 15:00:32 +08:00
Treehugger Robot
b2a5ee5b76 Merge "[Thread] update the link for "Learn More about Thread"" into main 2025-01-06 22:42:26 -08:00
Kangping Dong
cc22175481 [Thread] update the link for "Learn More about Thread"
The latest link to the help center doc is finalized in b/387356147

Bug: 387356147
Change-Id: Ia3caf2dc78b4cd41d9d046cb072268ac63cdd65e
2025-01-07 13:35:44 +08:00
Chelsea Hao
0f6baa17c2 Merge "Fix play/pause button." into main 2025-01-06 21:24:15 -08:00
Lorenzo Lucena Maguire
0e64487bc3 Support Double Tap Power to open camera via config resource
"Quickly open camera" screen was previously replaced by the "Double
Tap Power Button" screen and accessible only if the
feature flag
android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap
was disabled.

This CL introduces the possibility to set, via a config resource, "Quickly open camera" as the double tap power
gesture screen.

Test: atest DoubleTapPowerSettingsTest
Test: atest DoubleTapPowerPreferenceControllerTest
Test: atest DoubleTapPowerSettingsUtilsTest
Test: manually modified config and verified screen and gesture behavior
change
Flag: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap
Bug: 384794943
Change-Id: I5ab4422da09fa90848c66a41829327494080b5a2

Change-Id: I8e04cac3999a7ed99a611ef084c54bc07a5505dc
2025-01-07 03:59:59 +00:00
Chaohui Wang
3380884efc Merge changes from topic "BytesFormatter" into main
* changes:
  Migrate all data usage format use case
  Clean up unused DataUsageSummary.formatUsage
  Use BytesFormatter for data usage
2025-01-06 19:06:34 -08:00
Wenyu Zhang
2387fc0053 Merge "a11y: Initialize skeleton for autoclick indicator related settings" into main 2025-01-06 18:15:23 -08:00
Victor Li
9e36d12ec5 Merge "Set audiostreams service exported=true with BLUETOOTH_PRIVILEGED permission." into main 2025-01-06 18:13:44 -08:00
Wenyu Zhang
32e2f97578 a11y: Initialize skeleton for autoclick indicator related settings
Screenshot: http://screen/5wWt8Tvr9K3fuoi.png

Change-Id: Iaf07e738d64e0e22caf7571a7529cccbf3079f87
Bug: b/383901288
Test: ToggleAutoclickCursorAreaSizeControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
2025-01-07 00:53:16 +00:00
YuhanYang
c3426d0a87 Add preference toggle for mouse scrolling acceleration
Bug: 383555305
Bug: 384795606
Test: Local DUT with aconfig flags enabled, verified settings appears
and is togglable. Verified toggle affects scrolling acceleration.

Flag: com.android.hardware.input.mouse_scrolling_acceleration
Change-Id: Ibba2bb1c3cb57b98ad34a5851bae7b9d73e48d74
2025-01-06 23:48:43 +00:00
Matthew DeVore
74a61215fb Use topology listener to detect changes
If some other app or the system changes the topology, we detect it and
refresh the topology pane. If the listener reports a topology that we
just applied, do not actually refresh the pane.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352650922
Test: atest DisplayTopologyPreferenceTest.kt
Test: with added logs, verify that a detach and re-attach w/o new topology does not cause a full refresh
Change-Id: Iecf50d563b430755c93bee5a1ff54f3f3d6eb3da
2025-01-06 20:26:03 +00:00
Yuri Lin
5979b88c7c Merge "Send APP_NOTIFICATION_PROMOTION_SETTINGS intent to the preference" into main 2025-01-06 10:59:50 -08:00
Nikhil Nayunigari
891ea3d18a Merge "Feature flag for Ethernet Settings" into main 2025-01-06 09:53:14 -08:00
Treehugger Robot
54bb776d5a Merge "Touchpad: remove individual gesture settings" into main 2025-01-06 09:05:06 -08:00
Matthew DeVore
ace72e4455 Merge "Tweak TopologyScale API according to current usage" into main 2025-01-06 09:00:02 -08:00
Matías Hernández
837a3477ab Merge "Remove incorrect call to Window.addFlags with a system flag" into main 2025-01-06 07:16:05 -08:00
Geoffrey Boullanger
98cfa0af0a Add notifications toggle to Settings > Date and Time
Design doc: go/android-tznotifications
Test: atest and on device
Bug: 283267917
Bug: 283437447
Flag: com.android.server.flags.datetime_notifications

Change-Id: I91ea363a145d7184c997beae17862387114bc09b
2025-01-06 15:06:12 +00:00
Victor Li
c1b478c9cb Set audiostreams service exported=true with BLUETOOTH_PRIVILEGED permission.
Bug: 387887193

Change-Id: Ie80d8ad9ae3d169eda04d1f4cc87da71c34cbd44
2025-01-06 05:12:31 -08:00
chelseahao
4668c58347 Fix play/pause button.
Test: atest
Bug: 385844038
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I2007f5d4ade3254f2eeb6e5fa6ed677772083376
2025-01-06 19:47:56 +08:00
Tom Hsu
e2ba1a89c2 Merge "NTN connected type is manual, UI status shall be checked by callback." into main 2025-01-06 02:48:39 -08:00
Chelsea Hao
856a577b17 Merge "Support generic qr code scanners." into main 2025-01-06 02:26:22 -08:00
Ze Li
6856d1ebd3 Merge "[Temp bonding] Hide temp bond devices from existing lists" into main 2025-01-06 02:18:32 -08:00
shaoweishen
1f436509f0 [Physical Keyboard] Fix L18n test bugs
1. update string to match with Markup
2. a space for label keys as suggested

Bug: 387267421
Bug: 387572420
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod
Change-Id: I787cf6ff4e15509d669317a0d968235a08b4dc43
2025-01-06 10:03:53 +00:00
tomhsu
88a0a7610c NTN connected type is manual, UI status shall be checked by callback.
- Manual type shall check with onCarrierRoamingNtnAvailableServicesChanged
 - Automatic type check shall check with getAttachRestrictionReasonsForCarrier

Flag: EXEMPT bug fix
Fix: b/387523217
Test: Manual test
Change-Id: Id28885a0972a7f7d6c43ae22149b6e3e49d7f374
2025-01-06 09:15:19 +00:00
chelseahao
679b76d8e9 Support generic qr code scanners.
Test: atest
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I8dee57903c42d00351e28a891cee917e078839ac
2025-01-06 15:11:40 +08:00
Haijie Hong
12f53fadd8 Merge "Fix device icon overflow issue" into main 2025-01-05 22:16:49 -08:00
YK Hung
3ebad89891 Merge "Use try-with-resources for BatteryUsageStats" into main 2025-01-05 20:42:01 -08:00
Chelsea Hao
1d10e6bba2 Merge "[Audiosharing] When bt is off or unsupported, we show "Please connect a device" dialog after camera scans a QR code" into main 2025-01-05 19:07:56 -08:00
Treehugger Robot
a98694a34c Merge "Add talkback hint to SIM name EditText" into main 2025-01-05 17:17:08 -08:00
Weng Su
e5c80148b7 Add talkback hint to SIM name EditText
Bug: 385808957
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ide9161690f87c048eaa348d410674a6fb74ea07c
2025-01-06 07:22:20 +08:00
Bill Yi
ea095beb6c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-01-04 22:17:23 -08:00
Bill Yi
3c389cfa99 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-01-04 22:17:23 -08:00
Haijie Hong
7928455af6 Fix device icon overflow issue
Flag: EXEMPT minor fix
Bug: 373988997
Test: local tested
Change-Id: I13185e3fc0b57dd6079eb0bef5d8fbda5efbddb9
2025-01-04 21:47:22 +08:00