Commit Graph

147383 Commits

Author SHA1 Message Date
Mark Renouf
f5aa74b0e8 Fixes 'capture more' on Settings home page
This change excludes the contents of 'main_content_scrollable_container'
from scroll capture search.

Explanation: The inner-most child is selected whenever nested scrolling
views are found. This is incorrect for Settings because the inner
RecyclerView isn't actually scrollable (that is, the contents of it are
not scrolled within it, the RecyclerView itself is scrolled by the outer
ScrollView instead). View.canScrollVertically is unfortunately incorrect
for RecyclerView in this case as well.

This change excludes all children of the main ScrollView from the
search. This  ensures the outer ScrollView is chosen and this corrects
the 'capture more' screenshot functionality on the Settings home page.

Bug: 399810823
Test: manual; Open settings, screenshot, capture more
Flag: com.android.settings.flags.extended_screenshots_exclude_nested_scrollables
Change-Id: I3363d70b3649e2a34e541c45ab387d59547b8588
2025-03-19 09:22:30 -07:00
Graciela Putri
2952619104 Merge "Add LSE App Compat OWNERS for Settings" into main 2025-03-12 09:39:40 -07:00
Shaowei Shen
d688e69c2e Merge "[Physical Keyboard] Update seekbars" into main 2025-03-12 08:46:59 -07:00
Treehugger Robot
6bdefff962 Merge "[Dialog] Remove the space." into main 2025-03-12 07:58:46 -07:00
Graciela Putri
90cd7eb98c Add LSE App Compat OWNERS for Settings
Flag: EXEMPT adding OWNERS
Fix: 402735141
Test: m
Change-Id: I459bf13bf9ccd067c0ddf067b56ce0e6ecaf4d7d
2025-03-12 07:54:16 -07:00
Hani Kazmi
08fb4d950a Merge "[AAPM] Add framework stats atoms for Advanced Protection" into main 2025-03-12 06:46:25 -07:00
Treehugger Robot
5bf1ec1a38 Merge "[Catalyst] Implement metrics/tags for Media page" into main 2025-03-12 05:58:28 -07:00
Chelsea Hao
9d665a0cbc Merge "Handle receive state in audio stream media service." into main 2025-03-12 05:13:53 -07:00
danielwbhuang
4c2949224f [Dialog] Remove the space.
Remove the space before the question mark

Bug: 388942734
Test: manual verification
Flag: EXEMPT bugfix
Change-Id: Iebb8ad106f5c28085943733c414ed25444955399
2025-03-12 19:40:37 +08:00
Hani Kazmi
d22dc992a3 [AAPM] Add framework stats atoms for Advanced Protection
Emit logs whenever advanced protection state changes, or the user is impacted
(inferred by a dialogue being shown)

Bug: 391635274
Change-Id: Ie940afbeaf023df5b1733b2137829ecc78ade137
Test: AdvancedProtectionManagerTest AdvancedProtectionServiceTest
Flag: android.security.aapm_api
2025-03-12 03:47:13 -07:00
chelseahao
3d54a876f5 Handle receive state in audio stream media service.
Test: atest
Bug: 398700619
Flag: com.android.settingslib.flags.audio_stream_media_service_by_receive_state
Change-Id: If8934dd6da5420c0e345ae0f412cc9e512e43027
2025-03-12 03:10:35 -07:00
Treehugger Robot
52c57d003e Merge "Fix watch UMO is dismissed when the phone is showing "Stream Paused" notification." into main 2025-03-12 01:29:46 -07:00
shaoweishen
b547394a56 [Physical Keyboard] Update seekbars
Update seekbars color and style.

Bug: 374030364
Bug: 399285693
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: I251a7241b614114a5bb9d5090fcd22cb873ebc51
2025-03-12 00:50:15 -07:00
Victor Li
1aa81f07bb Fix watch UMO is dismissed when the phone is showing "Stream Paused" notification.
Change-Id: I4aef37893eb6420117dc61ab2939dce7709c33ef
BUG: 402599529
2025-03-11 23:55:42 -07:00
Chelsea Hao
de3ec7e343 Merge "Skip starting audio stream service by UI events when flag is on." into main 2025-03-11 23:27:38 -07:00
Wes Okuhara
24b6ba590a Merge "Settings: Create aconfig flag for search result deep links in same task" into main 2025-03-11 22:13:30 -07:00
Yiyi Shen
d2c3d12372 Merge "[Audiosharing] Update device list when primary buds change" into main 2025-03-11 22:11:33 -07:00
Candice Lo
c8d9ab2c55 Merge "Add content descriptions for Display size and text previews" into main 2025-03-11 19:25:23 -07:00
Shawn Lin
50d8d10c58 Merge "Update strings for summary in device unlock page" into main 2025-03-11 19:25:14 -07:00
Treehugger Robot
feb87ba458 Merge "Fix typo when execute query on BiometricSettingsProvider" into main am: fc564f2bd1 am: c5dc26d495
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3427141

Change-Id: I9002646cd0e0092f61648ec0b5afc0ac8eeb7346
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-11 19:24:12 -07:00
Shawn Lin
d902137c2d Merge "Fixed not able to launch FaceSettings page when face is enrolled" into main 2025-03-11 19:09:34 -07:00
Treehugger Robot
c5dc26d495 Merge "Fix typo when execute query on BiometricSettingsProvider" into main am: fc564f2bd1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3427141

Change-Id: I2b08bbb1f47c75179dd33d1f9c823c71384aceab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-03-11 19:02:01 -07:00
Yuhan Yang
3fbdd379bf Merge "Initial commit to add autoclick main toggle" into main 2025-03-11 18:55:09 -07:00
Treehugger Robot
fc564f2bd1 Merge "Fix typo when execute query on BiometricSettingsProvider" into main 2025-03-11 18:21:58 -07:00
Nikhil Nayunigari
989c4cf698 Merge "Edits ethernet interface details settings subpage with more info" into main 2025-03-11 15:57:38 -07:00
Wes Okuhara
46f629c4ef Settings: Create aconfig flag for search result deep links in same task
This will be used to guard the bugfix a bug where the deep link
initiated from a search result would open the results page in a separate
window.

Bug: 381127948
Test: None
Flag: com.android.settings.flags.settings_search_result_deep_link_in_same_task
Change-Id: I5a10df558130176ae9df39c0c35501def948430d
2025-03-11 15:22:47 -07:00
Treehugger Robot
b145bf0c5c Merge "[Expressive design] Recolor Hub mode icons on homepage" into main 2025-03-11 15:12:18 -07:00
William Leshner
1a8bf51a04 Merge "Move hub mode settings under display." into main 2025-03-11 14:50:35 -07:00
Nikhil Nayunigari
a821ac9185 Edits ethernet interface details settings subpage with more info
Adds IPAddress, Mac address, RX/TX Speed and Metering options to the
settings sub page.

Flag: com.android.settings.connectivity.ethernet_settings

Test: atest SettingsRoboTests:
com.android.settings.network.NetworkProviderSettingsTest

Bug: 390709492

Change-Id: I9a310f94037e089f3d57ff36f77b88edbb0ee1f1
2025-03-11 21:06:55 +00:00
Xiaomiao Zhang
04cfbe0520 Merge "Add SafeSites related content filters preference." into main 2025-03-11 13:53:42 -07:00
Graciela Putri
cf0d8cba31 Merge "Remove (experimental) from app aspect ratio settings title" into main 2025-03-11 11:56:04 -07:00
Treehugger Robot
34ba944fa0 Merge "Show failure reasons to user" into main 2025-03-11 11:44:47 -07:00
Xiaomiao Zhang
bb8b603f94 Add SafeSites related content filters preference.
Test: atest SupervisionSafeSitesPreferenceTest
Test: maunally tested locally
Bug: 401568993
Flag: android.app.supervision.flags.enable_web_content_filters_screen
Change-Id: I556019bdeba5ed459996102217836cda0e3c7f71
2025-03-11 18:15:31 +00:00
Pawan Wagh
177fd578c9 Show failure reasons to user
Sometimes device might have pending update which can
cause 16KB toggle to fail. Show the pending update errors to user.

Flag: EXEMPT bug_fix
Test: atest Enable16KbTest
Bug: 394678137
Bug: 400733054
Change-Id: Id032b2f14afb74af3b7458a426addc7e32e3a6f7
2025-03-11 17:10:29 +00:00
Kasia Krejszeff
14bdf5e927 Tap to pause/play the lottie animation in remaining PrivateSpace setup screens
This is to conform to a11y motion stopping requirements.

Test: manually
Bug: 379258725
Flag: EXEMPT bugfix

Change-Id: Ic06cb03f5490def37894b8f448e9e435ad5baf35
2025-03-11 16:42:33 +00:00
Yuhan Yang
a572f89f43 Initial commit to add autoclick main toggle
screen cast: go/screencast-ntc4mdgxndq2mdyxnjcwnhw2yjbhymvlnc0wna

Bug: 391416057
Test: atest ToggleAutoclickMainSwitchPreferenceControllerTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I6bfa346016d0ab08a61e4813b2c9e16b76281799
2025-03-11 15:49:20 +00:00
Treehugger Robot
f909314daf Merge "Tap to pause/play the lottie animation in PrivateSpace education screen" into main 2025-03-11 07:30:30 -07:00
Ze Li
35b5d88170 Merge "[Bluetooth Pairing] Change allow phone book permission Switch to Material3 style." into main 2025-03-11 07:29:29 -07:00
Treehugger Robot
f5b9302119 Merge "Fix the namespace for CDM flag in Settings" into main 2025-03-11 07:19:54 -07:00
Shivangi Dubey
4038a20ed3 Merge "Create new device state auto rotate setting manager" into main 2025-03-11 05:18:21 -07:00
Ze Li
6e0bbb6259 [Bluetooth Pairing] Change allow phone book permission Switch to Material3 style.
Test: manual test
Bug: 318785412
Flag: EXEMPT bug fix
Change-Id: I5546cb504a6db939a4ab62264d496adcf93aa0e2
2025-03-11 19:18:01 +08:00
Jason Chiu
c8e7951cda [Expressive design] Recolor Hub mode icons on homepage
Bug: 396944193
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I76bd2de03869f0df97c6d52e34f6cc0b008c2ac0
2025-03-11 19:01:53 +08:00
Shawn Lin
46aa1871e8 Fixed not able to launch FaceSettings page when face is enrolled
Save mConfirmingPassword state

Bug: 370940762
Test: 1. Enroll face
      2. Enabled "Don't keep activity" in develop option
      3. Click "Face" item in "Device unlock" setting page
Flag: EXEMPT bug fix
Change-Id: Ie898f94f9e600b1b5c33d6923956212537173154
2025-03-11 10:15:07 +00:00
Yiyi Shen
1b00e97a5c [Audiosharing] Update device list when primary buds change
Test: atest
Bug: 399161206
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ic99e14492456bd9901c71fa3cec3f894b6ec63e6
2025-03-11 17:36:06 +08:00
Sunny Shao
f0fdae9df2 [Catalyst] Implement metrics/tags for Media page
NO_IFTTT=Catalyst only

Bug: 389133530
Bug: 389133114
Flag: com.android.settings.flags.catalyst_media_controls
Test: build pass
Change-Id: I36b148d88e85b465296a3e773c47917e4405ec53
2025-03-11 08:58:46 +00:00
chelseahao
9a4106f140 Skip starting audio stream service by UI events when flag is on.
The service will be started by broadcast receiver.

Test: atest
Bug: 398700619
Flag: com.android.settingslib.flags.audio_stream_media_service_by_receive_state
Change-Id: Idead58bc10dffaeb969643e967760a36106071cb
2025-03-11 01:42:48 -07:00
Haijie Hong
2b47ca1608 Merge "Reimplement device details UI without ComposePreference" into main 2025-03-11 01:29:30 -07:00
Menghan Li
173dceca7c Merge "refactor(A11yFeedback): Simply feedback logic into menu controller" into main 2025-03-11 00:49:19 -07:00
Haijie Hong
02bd645834 Reimplement device details UI without ComposePreference
Replace ComposePreference with androidx.preference.Preference.

ANC toggle will still use Compose until SegmentedButtonPreference is ready.

BUG: 402036473
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I5114af8f2d679d695b3c5ef4d7be2874245c435e
2025-03-11 14:51:30 +08:00
Treehugger Robot
87a9cdf16f Merge "Fix biometric activities launched twice" into main 2025-03-10 23:50:12 -07:00