Commit Graph

146945 Commits

Author SHA1 Message Date
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
Pawan Wagh
602cec999b Use SwitchPreferenceCompat for UI consistency
Test: Install Settings and Check UI
Bug: N/A
Change-Id: Idf17d4d7616b6d45403e1c19857f5a33b27b04c2
2025-02-21 01:24:42 +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
Treehugger Robot
1d8a9df2eb Merge "Change range of battery saver schedule seekbar" into main am: a9d0f2b261 am: bec906daaa
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3494973

Change-Id: I800977e4a6e005169c346e41b5958cd6cddc4baa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 04:36:04 -08:00
Treehugger Robot
bec906daaa Merge "Change range of battery saver schedule seekbar" into main am: a9d0f2b261
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3494973

Change-Id: I294958a408d7a3fe350364cd754539e64837668e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-20 04:00:44 -08:00
Weng Su
e3054caa34 Fixed accessibility issues in Non-carrier data usage Settings
- Added title text to the app usage category to prevent Talkback from missing the title index number

Bug: 318780276
Flag: EXEMPT resource file only update
Test: Manual testing
Change-Id: If0856b5536975b36791d9cd0a1f760533f575954
2025-02-20 19:47:22 +08:00
Treehugger Robot
540361621a Merge "Fixed crash issues in Emergency Callback Mode" into main 2025-02-20 03:35:54 -08:00
Treehugger Robot
a9d0f2b261 Merge "Change range of battery saver schedule seekbar" into main 2025-02-20 03:22:43 -08:00
Jason Chang
5cf92e60c2 Merge "Fix for checking SUW/Setting Expressive style API" into main 2025-02-20 02:56:42 -08:00
Treehugger Robot
acd833886f Merge "Persist dev option reboot dialog on rotation." into main 2025-02-20 02:37:32 -08:00
Weng Su
af065146d5 Fixed crash issues in Emergency Callback Mode
- Avoid using controllers when Catalyst design is enabled

Bug: 394015881
Flag: EXEMPT bugfix
Test: Manual testing
  atest NetworkDashboardFragmentTest
Change-Id: I4393be5e76c0328f2a53f1d828814491991557f1
2025-02-20 18:24:16 +08:00
Treehugger Robot
3fc8745924 Merge "Fix the animation in the “How to set up Face Unlock” page can’t be paused or hidden." into main 2025-02-20 02:01:52 -08:00
tom hsu
d5548d1463 Make Satellite UI updatable during receiving callback
- Refactor code
 - Make Satellite category be updatable by callback.

Flag: EXEMPT bug fix
Fix: b/396233604
Fix: b/382664790
Test: atest pass
Change-Id: I893030005ae5af1403557f7bd22e8cdaf038ffcf
2025-02-20 09:34:45 +00:00
Jason Chang
b5857a7af9 Fix for checking SUW/Setting Expressive style API
Flag: EXEMPT use SUW/Settings Expressive style API to check

Bug: 394223273

Test: build and manually check the UI and its behaviors
Change-Id: Iecbe443a20c4a228a6bd14fd061b0a731fbbd95a
2025-02-20 09:29:21 +00:00
alinazaidi
cf33160dc5 Persist dev option reboot dialog on rotation.
Use a ViewModel to store reboot dialog fragment state on rotations.

Test: locally verified rotations on few dev options that use the reboot fragment
Test: atest
com.android.settings.development.RebootConfirmationDialogFragmentTest
--iterations 25 (Passed)
Bug: 356273849
Flag: EXEMPT bug fix

Change-Id: I154170ea5fa91bcbec32af43853c5f99f8e8253d
2025-02-20 01:25:12 -08:00
Jason Chang
90802728ae Fix the animation in the “How to set up Face Unlock” page can’t
be paused or hidden.

Handling the Lottie onClick event to pause/resume the animation.

Flag: EXEMPT bug-fix

Bug: 378585895

Test: local build and verify to pause / resume lottie animation.
Change-Id: I36ff303dcdb994fb5ad9d90957d9a3e8534c3634
2025-02-20 08:43:18 +00:00
Henrik Baard
37bf0fbe57 Change range of battery saver schedule seekbar
The minimum value which can be set as trigger for
Battery saver was changed from 10% -> 20% however the
settings UI was not aligned with this change.

ref: b0fe225 Update the battery saver scheduler minimum level

Update the UI to align with the minimum trigger
level.

Bug: 396444535
Test: manual, check minimum seekbar value after reboot.
Test: atest BatterySaverScheduleSeekBarControllerTest
Change-Id: I4baa766ff1cb78ce656ae340ce930094b9e124e0
2025-02-20 09:13:39 +01:00
Ze Li
6a29b1c779 [Battery refactor] Move stylus related functions to BluetoothUtils as util functions.
Test: com.android.settings.bluetooth.BluetoothDeviceDetailsFragment, com.android.settings.connecteddevice.stylus.StylusDevicesControllerTest
Bug: 397847825
Flag: EXEMPT utils function
Change-Id: I6819844cd686fe29b8b1c760c3e4035787a2b903
2025-02-20 15:35:01 +08:00
Treehugger Robot
010869fc7e [automerger skipped] Merge "Fix crash due to display name is not set to View." into main am: f31808e692 am: 4afe48b684 -s ours
am skip reason: Merged-In I2a70c4e31c182f99cc4fb3da93ce7911da005429 with SHA-1 04006ccb48 is already in history

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

Change-Id: Ieef95a63090cd57ba3e9d51e58702b66d12afc9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 21:15:16 -08:00
Treehugger Robot
4afe48b684 Merge "Fix crash due to display name is not set to View." into main am: f31808e692
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3501106

Change-Id: Iefac0a42aa02ff26b0a6a780e9d00a106295cec7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 20:38:39 -08:00
Treehugger Robot
f31808e692 Merge "Fix crash due to display name is not set to View." into main 2025-02-19 20:10:11 -08:00
tom hsu
58f40ebc7b Fix crash due to display name is not set to View.
Flag: EXEMPT bug fix
Fix: b/396700275
Fix: b/396606595
Test: manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:04006ccb4867a17e7e59c64327d102e9b30af5f9)
Merged-In: I2a70c4e31c182f99cc4fb3da93ce7911da005429
Change-Id: I2a70c4e31c182f99cc4fb3da93ce7911da005429
2025-02-19 19:18:06 -08:00
Treehugger Robot
b77224f98a Merge "Revert "Update background color for Settings homepage"" into main 2025-02-19 18:10:47 -08:00
Angela Wang
57032340db Merge "Add ambient volume control related logs in Settings" into main 2025-02-19 18:03:48 -08:00
Yining Liu
cb663383e0 Update Notification Cooldown Setting Description
Update the text for Notification Cooldown setting's
description.

Change-Id: I01a9a7bce23fcb384c29150e2937435ac2637115
Fix: 390480406
Test: Manual, Settings - Notifications - Notification cooldown
Flag: com.android.server.notification.polite_notifications
2025-02-19 18:01:02 -08:00
Steven Moreland
911a99932c 16KB -> 16 KB
To be consistent with our docs and communication elsewhere.

Bugs: me
Change-Id: I0233412e452a27a14eb14336b0229114d022183c
Test: N/A
2025-02-19 15:11:18 -08:00
Yuri Lin
f64677e095 Merge "Call super.updateState() to set checked status of work profile switch" into main 2025-02-19 14:30:49 -08:00
Pawan Wagh
24a65ba02b Connect and enable root before running each testcase
- Enable16KbTest is flaky for aosp targets. Make sure that device
is connected and with root each time before and after running the
test.
- Add OWNERS file Enable16KbTest

Test: atest -c Enable16KbTest
Bug: 396984821
Change-Id: Ifffb73496b0947dda13a4022733677bd645b7e16
2025-02-19 20:59:06 +00:00
Yuri Lin
21327c6e41 Call super.updateState() to set checked status of work profile switch
The switch preference was not correctly reflecting the state of the cooldown setting because the checked state of the switch is set in the parent class's updateState() method.

Fixes: 397554453
Flag: EXEMPT bugfix
Test: manual
Change-Id: I2ce6fe71ac6ed0249c0ad39e99ff5929659d6b5a
2025-02-19 15:30:51 -05:00
Treehugger Robot
7d8717df58 Merge "Remove the perform backup tasks flag." into main 2025-02-19 09:05:21 -08:00
Nikhil Nayunigari
81bb2588f5 Merge "Add ethernet interface details settings subpage" into main 2025-02-19 08:34:03 -08:00
Treehugger Robot
a019ed062a Merge "Modify the default satellite category title." into main 2025-02-19 07:57:24 -08:00
Tetiana Meronyk
1cfb8a690d Merge "Put "Add user" dialog within activity to capture focus" into main 2025-02-19 07:48:32 -08:00