Commit Graph

146898 Commits

Author SHA1 Message Date
Yiyi Shen
d800a32c57 [Audiosharing] Add more checks before show notif from receiver
Test: atest
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: I42a526914eb69d47db33230f2d23f2c8890880de
2025-02-25 15:45:08 +08:00
Haijie Hong
5e79d18636 Merge "Add Nearby share entrypoint in DevicePicker" into main 2025-02-23 23:30:32 -08:00
Garvita Jain
5b5bef71f1 Merge "[Expressive Design] Migrate Storage settings dashboard for Work profile" into main 2025-02-23 23:18:37 -08:00
Chaohui Wang
ceea22c012 Merge "Override isSpaExpressiveEnabled in Settings" into main 2025-02-23 22:17:05 -08:00
Chaohui Wang
04c7e27a73 Override isSpaExpressiveEnabled in Settings
Into SettingsSpaEnvironment.

Bug: 386013400
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Test: visual - expressive can enabled for spa in Settings
Change-Id: I5225948c733a57855168a3e633fc4fbd4dd6f89a
2025-02-24 12:08:27 +08:00
Treehugger Robot
93ff3c4f7a Merge "Do not set title description for Confirm Activity" into main 2025-02-23 20:04:58 -08:00
Shaowei Shen
49859abb4b Merge "[Physical Keyboard] Update Input Setting Dialog" into main 2025-02-22 02:36:32 -08:00
Yuhan Yang
664df0f4cc Update autoclick shortcut searchable
Add autoclick shortcut to search index when
enable_autoclick_indicator flag is enabled.
Hide it when the flag is off.

Bug: 397719419
Test: atest ToggleAutoclickPreferenceFragmentTest
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: Ib6d25067d024ff0dbea64d17d38fc544c615db97
2025-02-21 22:36:53 +00:00
Yuhan Yang
4d52d72337 Only create shortcut preference when no existing shortcut found
Update onCreateView in AccessibilityShortcutPreferenceFragmen
so it only create a new shortcutPreference when no existing
shortcut preference is found.

Bug: 397719419
Test: Manually verified on test devices
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: Ic4747240cfd3d48fd97c61fd0b15d44f6ba5cf0a
2025-02-21 22:36:53 +00:00
Treehugger Robot
29b9665128 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-21 13:47:42 -08:00
Treehugger Robot
6397625c92 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-21 13:47:42 -08:00
Treehugger Robot
a5f7b21855 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-21 13:47:42 -08:00
Yuhan Yang
ea90ad7194 Merge "Finalize mouse Scrolling settings strings" into main 2025-02-21 12:37:04 -08:00
Owner Cleanup Bot
b22cebe941 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/sim/OWNERS" into main am: f16b9f85a1 am: 1a2021fe66
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3499870

Change-Id: I56dd62f3b24da922af1292bfdf47868c111bda8c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 12:10:18 -08:00
Owner Cleanup Bot
73df0ba4a4 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/deviceinfo/OWNERS" into main am: 0d7517c021 am: 62651fd633
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3497484

Change-Id: I66b2f7fba0b38d099f2ea86ea64da2358d7e1439
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 12:09:31 -08:00
Owner Cleanup Bot
840197127e Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/datausage/OWNERS" into main am: f7457e99a2 am: 01d42a8f16
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3497483

Change-Id: Ic41a7de069977b7c8109438c9f9a081769133a44
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 12:08:09 -08:00
Owner Cleanup Bot
1a2021fe66 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/sim/OWNERS" into main am: f16b9f85a1
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3499870

Change-Id: If51ca705603b0f00e776f7c2b98ee12c0dccaaef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 11:45:37 -08:00
Owner Cleanup Bot
62651fd633 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/deviceinfo/OWNERS" into main am: 0d7517c021
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3497484

Change-Id: I3d477b780ba85e4c214de837b6bbab425b13aff1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 11:45:24 -08:00
Owner Cleanup Bot
01d42a8f16 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/datausage/OWNERS" into main am: f7457e99a2
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3497483

Change-Id: Ibab36faa75e1d4c187af9d674ccecfe1575413b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 11:44:00 -08:00
Yuhan Yang
20ad24a911 Finalize mouse Scrolling settings strings
Screenshot: go/screenshot-7NVc6dShvsUzgMx
Mock: go/al-peripherals-ux page 3

Bug: 384795606
Test: Verified UI on test devices
Flag: com.android.hardware.input.mouse_scrolling_acceleration
Change-Id: If145ab7a0955a288582af9a9cb437538cf7abd09
2025-02-21 11:32:11 -08:00
Owner Cleanup Bot
f16b9f85a1 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/sim/OWNERS" into main 2025-02-21 11:15:59 -08:00
Yuhan Yang
7c467be118 Merge "Add autoclick shortcut to a11y autoclick settings" into main 2025-02-21 11:15:54 -08:00
Owner Cleanup Bot
0d7517c021 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/deviceinfo/OWNERS" into main 2025-02-21 11:13:55 -08:00
Owner Cleanup Bot
f7457e99a2 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/datausage/OWNERS" into main 2025-02-21 11:13:51 -08:00
Matthew DeVore
bdd9cca602 Merge changes I550fc918,I16b3ae92 into main
* changes:
  Disable mirror toggle if feature turned off
  Use PrefRefresh for Preference caching
2025-02-21 08:59:44 -08:00
Jason Hsu
d879711020 Merge "Fix default microphone for calls sometimes not work and not show UI" into main 2025-02-21 08:44:13 -08:00
Matthew DeVore
6edab7d35f Disable mirror toggle if feature turned off
If the content mode management feature is disabled, the mirror display
toggle should be disabled, and instead reflect the inverse of the
"force desktop on external displays" system property.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: manual with and without toggle user-changeable
Bug: b/396116157
Change-Id: I550fc918aaebab7129a559c0e49b88c8da7bc00d
2025-02-21 09:43:11 -06:00
Matthew DeVore
c37fc8b827 Use PrefRefresh for Preference caching
Refactor a couple of fields to use PrefRefresh for caching instead
instead of fields. This makes us construct PrefRefresh for display
categories, which we hadn't been doing before, and was causing
b/397466966. This also limits the tests' dependency on implementation.

We had been using fields for caching Preference objects, which doesn't
account for the same preference being needed for each display.
PrefRefresh is a more flexible mechanism for recycling View objects and
it largely makes the fields obsolete.

The reuse* methods (previously get*Preference) can actually be inlined
now that tests aren't calling into them, but to keep the diff easy to
review I left them as separate methods.

Because @NonNull doesn't actually do anything, and is considered the
default, I neglected to add them to new arguments, and deleted them from
lines I modified.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: ExternalDisplayPreferenceFragmentTest.java
Test: with fragment visible, plug-in and activate a new physical display with the Mirror prompt
Test: with topology disabled, verify footer is shown with and without a display attached
Bug: b/397466966
Bug: b/397591022
Change-Id: I16b3ae925ca3d9d79471fd5df00b571ae3fc696f
2025-02-21 09:43:10 -06:00
Owner Cleanup Bot
71eb73374c Merge "[owners] Remove arcwang@google.com from src/com/android/settings/wifi/OWNERS" into main am: 0997a62f67 am: 1ea637ca4b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3503652

Change-Id: I76b8d66fbadbfea1eea66239af526feafb7ddaa3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 07:09:39 -08:00
Owner Cleanup Bot
1ea637ca4b Merge "[owners] Remove arcwang@google.com from src/com/android/settings/wifi/OWNERS" into main am: 0997a62f67
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3503652

Change-Id: I7e14c37e2529e6ae8a9497eb7dd58155dd84a1bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-21 06:44:48 -08:00
Owner Cleanup Bot
0997a62f67 Merge "[owners] Remove arcwang@google.com from src/com/android/settings/wifi/OWNERS" into main 2025-02-21 06:25:48 -08:00
lbill
0a46950939 Do not set title description for Confirm Activity
The Confirm Lock Activity for Auto-Confirm feature announce
redundant description after confirm the PIN/Password in the
Click Toggle CUJ.
1. The title won't be present on the Confirm Lock
2. Set title for Confirm Lock breaks the a11y requirement

Flag: EXEMPT for fixing a11y bug
Bug: 384628809
Test: Manual enable a11y talkback, go to Settings > Security & Privacy
> Device unlock > Screen lock > Settings > Auto-confirm unlock toggle
> input PIN/Password to dismiss the confirm lock activity
> Ensure no redundant title description announced by talkback

Change-Id: I95fc03aae4fb5dc7500cc18c383dff62b95bc3f1
2025-02-21 03:20:08 -08:00
Garvita Jain
69a8881268 [Expressive Design] Migrate Storage settings dashboard for Work profile
This change includes using SettingsLib.CardPreferenceWidget in storage
dashboard for devices with work profile enabled.

Test: manual
BUG: 349670985
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Ib164df1f9d3507dd8d77d038210fe0eb0ca647c9
2025-02-21 11:02:31 +00:00
Treehugger Robot
17dc54c62c Merge "Talkback shouldn't announce in list numbers." into main 2025-02-21 02:23:53 -08:00
Bill Yi
5c76e5c3f7 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4d238087aade19803b09e2e2c2a95b0c0e27f7fa
2025-02-21 01:48:08 -08:00
Bill Yi
da839abcf0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I877f87cd6e568638103c6ba0f6ed2eb9a105fce6
2025-02-21 01:35:57 -08:00
Bill Yi
3fd7d51d3f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id2ff7ebac1abfe97f9e8083b2304d7817c1daead
2025-02-21 01:30:19 -08:00
Haijie Hong
a9e67c0327 Add Nearby share entrypoint in DevicePicker
Bug: 381799866
Test: local build
Flag: com.android.settings.flags.enable_nearby_share_entrypoint
Change-Id: Ied79b9eebe7eaf669e45922787c5b01e504822d8
2025-02-21 17:24:10 +08:00
danielwbhuang
508567edd8 Talkback shouldn't announce in list numbers.
These pages shouldn't announce in list numbers when use Talkback.
1. TemperatureUnitFragment
2. MeasurementSystemItemFragment
3. FirstDayOfWeekItemFragment

Bug: 385671217
Flag: EXEMPT bug fix
Test: test on real devices
Change-Id: Ib691947c3b34cd59e29ed2fd173a77633c5115b5
2025-02-21 01:19:05 -08:00
Shraddha Basantwani
7a9277ca8f [automerger skipped] Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf am: 1135fa48e1 -s ours am: ba7d8ce77e -s ours am: 4dd997ea37 -s ours am: 1369a4c0a2 -s ours am: cf95fa5a71 -s ours
am skip reason: contains skip directive

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

Change-Id: I269ba8e839ec7121fa1b32f2250c1c579dcc9fdf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 23:58:06 -08:00
Shraddha Basantwani
adff8b9b9a [automerger skipped] RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3 am: 89b17839a5 -s ours am: b3a57ea2c2 -s ours am: a1870f90e9 -s ours am: 8846c65514 -s ours am: e1cb84a1dd -s ours
am skip reason: contains skip directive

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

Change-Id: Ia51228744365e042c717db55a23b1c02b5590e6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 23:58:01 -08:00
Tom Hsu
3c1e8e19cb Merge "Make Satellite UI updatable during receiving callback" into main 2025-02-20 23:27:01 -08:00
Shraddha Basantwani
cf95fa5a71 [automerger skipped] Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf am: 1135fa48e1 -s ours am: ba7d8ce77e -s ours am: 4dd997ea37 -s ours am: 1369a4c0a2 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie69507f3d3292cbd307d446866857bf625a83d0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 23:21:21 -08:00
Shraddha Basantwani
e1cb84a1dd [automerger skipped] RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3 am: 89b17839a5 -s ours am: b3a57ea2c2 -s ours am: a1870f90e9 -s ours am: 8846c65514 -s ours
am skip reason: contains skip directive

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

Change-Id: Ibbc9852c0e0fc9fdab833aea73dc2019ff2e51ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 23:21:18 -08:00
Shraddha Basantwani
5702cc90d4 [automerger skipped] Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf am: 1135fa48e1 -s ours am: ba7d8ce77e -s ours am: 4dd997ea37 -s ours am: c467e11211 -s ours
am skip reason: contains skip directive

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

Change-Id: I19acf8a668bf7acde491184fcff982ca658d2b01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 23:21:07 -08:00
Shraddha Basantwani
a8fe277b45 [automerger skipped] RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3 am: 89b17839a5 -s ours am: b3a57ea2c2 -s ours am: a1870f90e9 -s ours am: 8e1add2144 -s ours
am skip reason: contains skip directive

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

Change-Id: If37944836baae3bf1f53e1186023cb9dc5760a42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 23:20:58 -08:00
shaoweishen
4da457f8a9 [Physical Keyboard] Update Input Setting Dialog
1. update button style to use custom one
2. use scrollview so it won't be truncated in shorter screen

Bug:389973784
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: I57765e88751b6090606d56bbe2335813ef7fd2fc
2025-02-21 07:10:40 +00:00
Yiyi Shen
788fc20626 Merge "[Audiosharing] Adopt fallback API when developer preview on" into main 2025-02-20 23:01:25 -08:00
Shraddha Basantwani
c467e11211 [automerger skipped] Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf am: 1135fa48e1 -s ours am: ba7d8ce77e -s ours am: 4dd997ea37 -s ours
am skip reason: contains skip directive

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

Change-Id: Ia46678a6e7893cd9084c440b7927ece9e14cb1ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 22:57:26 -08:00
Shraddha Basantwani
8e1add2144 [automerger skipped] RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3 am: 89b17839a5 -s ours am: b3a57ea2c2 -s ours am: a1870f90e9 -s ours
am skip reason: contains skip directive

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

Change-Id: Ie06bcd8e700d148962683906fde1d0282f94f4bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 22:57:22 -08:00