Commit Graph

146869 Commits

Author SHA1 Message Date
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
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
7c467be118 Merge "Add autoclick shortcut to a11y autoclick settings" into main 2025-02-21 11:15:54 -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
Treehugger Robot
17dc54c62c Merge "Talkback shouldn't announce in list numbers." into main 2025-02-21 02:23:53 -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
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
Shraddha Basantwani
1369a4c0a2 [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: I34de0b8621f7da6b1950457e2b039b3ab5ac495b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 22:55:56 -08:00
Shraddha Basantwani
8846c65514 [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: I4ca3ccab6bf8db56b5ed8178585c85d61c0122f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 22:55:52 -08:00
Shraddha Basantwani
4dd997ea37 [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 skip reason: contains skip directive

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

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

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

Change-Id: Icae9b8d2558dd874aac099d371d90afa763ecf6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 22:32:55 -08:00
Shraddha Basantwani
ba7d8ce77e [automerger skipped] Merge "RESTRICT AUTOMERGE Add biometric authentication for package modification" into tm-dev am: f313de51cf am: 1135fa48e1 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 0634208161 is already in history

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

Change-Id: I326918d24e14962639e02937fc1087ed5801cf9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 21:47:14 -08:00
Shraddha Basantwani
b3a57ea2c2 [automerger skipped] RESTRICT AUTOMERGE Add biometric authentication for package modification am: 6179d4fdf3 am: 89b17839a5 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 0634208161 is already in history

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

Change-Id: Ie578507a82660b462a2141e5a3a1c38b2e0a6532
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 21:47:09 -08:00
Ze Li
025fff5a85 Merge "[Battery refactor] Move stylus related functions to BluetoothUtils as util functions." into main 2025-02-20 21:36:37 -08:00
Pawan Wagh
bbf2e6c700 Merge "16KB -> 16 KB" into main am: 63a8931a41 am: 1c2464aae4
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3501682

Change-Id: Ib9d413563cf8ebf1d9385e4c6ef2fba0ec9e178c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 20:13:38 -08:00
Pawan Wagh
06e764f264 Merge "Connect and enable root before running each testcase" into main am: b03384d426 am: 60c7026389
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3501231

Change-Id: I91e57e73653654414e737413a5d5dc4bff047925
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 20:12:56 -08:00
Treehugger Robot
6df46b06a7 Merge "Fix mobile data in Settings is not disable under satellite session" into main 2025-02-20 20:05:18 -08:00
Pawan Wagh
1c2464aae4 Merge "16KB -> 16 KB" into main am: 63a8931a41
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3501682

Change-Id: If770afce411e6692848b2308239c626a53803c6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 19:49:11 -08:00
Pawan Wagh
60c7026389 Merge "Connect and enable root before running each testcase" into main am: b03384d426
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3501231

Change-Id: I4e5e5500d64199e2c4a77a2d643d7131cbe7ef7d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 19:48:46 -08:00
Pawan Wagh
63a8931a41 Merge "16KB -> 16 KB" into main 2025-02-20 19:28:35 -08:00
Pawan Wagh
b03384d426 Merge "Connect and enable root before running each testcase" into main 2025-02-20 19:28:03 -08:00
Chun-Ku Lin
50b317e718 Merge "Ignore test that would fail when running together" into main 2025-02-20 19:23:52 -08:00
tom hsu
2a91e80acc Fix mobile data in Settings is not disable under satellite session
Flag: EXEMPT bug fix
Bug: b/386424636
Test: atest pass
Change-Id: I8d28419f295b172c2929acca5f5896aa4deeb09c
2025-02-21 02:48:55 +00:00
Daniel Norman
165f4ea76e feat(expressive): Add new magnification banner for expressive design
Fix: 378876803
Flag: EXEMPT custom flagging helpers from Settings and Setup
Test: observe new image; see bug screenshots
Change-Id: I3654563352e223af1a0d679318da45da2b4bc8be
2025-02-20 16:00:04 -08:00
Chun-Ku Lin
e4daa2786b Ignore test that would fail when running together
The two tests when running together, one of them would fail. Verified the user workflow is not affected, so simply ignore the test to unblock presubmit. Will fix the test later.

BUG: 398023330
Test: atest SettingsRoboTests:com.android.settings.accessibility.DaltonizerPreferenceTest SettingsRoboTests:com.android.settings.accessibility.ColorInversionPreferenceTest
Flag: EXEMPT test only

Change-Id: Ie978223dc9ec85aead624e4d6e0b91b033a7f7d1
2025-02-20 15:23:56 -08:00
Treehugger Robot
69c4f2dff0 Merge "Make ColorAndMotionFragment fully in Catalyst" into main 2025-02-20 12:39:07 -08:00
Riley Jones
e6b7908366 Merge "Revert "Left & Right buttons for Display size & text preview"" into main 2025-02-20 12:38:24 -08:00
jasonwshsu
691a3fd641 Fix default microphone for calls sometimes not work and not show UI
Root Cause: Only setMicrophonePreferredForCalls and show UI to current device, but audioManager
might hold other device in the same set

Solution: setMicrophonePreferredForCalls to whole device set and also check if any address in device
set contain in audioManager GET_DEVICES_INPUTS list

Bug: 392902067
Test: atest BluetoothDetailsHearingDeviceInputRoutingControllerTest
Flag: EXEMPT bugfix
Change-Id: Ic5846de26df4a8db67fa8efcf474fa4509f7918a
2025-02-21 04:10:03 +08:00
Daniel Norman
b1691756e2 Revert "Left & Right buttons for Display size & text preview"
This reverts commit 30e63f6178.

Reason for revert: Can cause crash for some users?

Change-Id: I4b4e71157b668bbf4320a610ad14ddd10f2eade3
2025-02-20 11:26:35 -08:00
Yining Liu
dd9ec44515 Merge "Update Notification Cooldown Setting Description" into main 2025-02-20 10:35:28 -08:00
Yuhan Yang
0516a06a02 Add autoclick shortcut to a11y autoclick settings
Add a shortcut row that toggles floating icon and pops edit
shortcut type dialog.

Screencast:
 - autoclick indicator flag on:
   go/njiwntmwmjuwnzu2ote1mnw2m2nhmzflzi0znq
 - autoclick indicator flag off:
   go/screenshot-anpqrzv6ewplyjs

Bug: 397719419
Test: Manually verified on test devices
Flag: com.android.server.accessibility.enable_autoclick_indicator
Change-Id: I5f0b51adfaea5c3f8b077af07f34f61d78cb34ac
2025-02-20 18:19:23 +00:00
Simon Wingrove
549060f00b Merge "Update "device admin apps" to "device admin"" into main 2025-02-20 09:39:41 -08:00
Owner Cleanup Bot
a25b7045e9 [owners] Remove arcwang@google.com from src/com/android/settings/wifi/OWNERS
This suggested change is automatically generated based on group
memberships and affiliations.

Please approve this change and vote the highest CR. This will keep the OWNERs
file tidy.  We ask that you do not ignore this change and approve it
unless you know a reason the OWNER should remain.  It can always be
reverted if needed.

If this change is in error, vote the lowest CR value (i.e. reject the CL)
and the bot will abandon it.

See the owner's recent review activity for context:
https://android-review.googlesource.com/q/arcwang@google.com

To report an issue, file a bug in the Infra>Codereview component.

Change-Id: Ib6ec33ee0331fef36c7c048be5b588e275e8de4d
2025-02-20 07:50:43 -08:00
Treehugger Robot
72dd09a78a Merge "Fixed accessibility issues in Non-carrier data usage Settings" into main 2025-02-20 05:08:19 -08:00