Commit Graph

147407 Commits

Author SHA1 Message Date
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
Yiyi Shen
92721a8650 Merge "[Audiosharing] Handle add source from notif in receiver" into main 2025-02-19 07:38:47 -08:00
Yiyi Shen
2114b0252f Merge "[Audiosharing] Handle cancel notification in receiver" into main 2025-02-19 07:38:32 -08:00
Owner Cleanup Bot
f1c3bfbac3 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/wifi/calling/OWNERS" into main am: 5c16cc9139 am: a51502b4fc
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3498934

Change-Id: Id4530616d92c5e20b9040e0d8d9dd1ee96b5f14c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 07:34:49 -08:00
Kanyinsola Fapohunda
c9569b1cbd Change namespace for time_help_and_feedback_feature_supported server flag
This change moves the time_help_and_feedback_feature_supported flag from the settings_ui namespace to the system_time namespace.

Flag: EXEMPT refactor
Bug: 283239837
Change-Id: Ic1fcafd3cdbd263d7b800ac7676701628361de63
2025-02-19 07:09:49 -08:00
Owner Cleanup Bot
a51502b4fc Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/wifi/calling/OWNERS" into main am: 5c16cc9139
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3498934

Change-Id: I65fa211c27990261e5bfaf699dc3f3661c27330b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-19 06:58:45 -08:00
Owner Cleanup Bot
5c16cc9139 Merge "[owners] Remove bonianchen@google.com from src/com/android/settings/wifi/calling/OWNERS" into main 2025-02-19 06:19:07 -08:00
Matías Hernández
a8b18f953d Merge "Hide ZenMode.getRule() - Settings" into main 2025-02-19 05:43:17 -08:00
Mill Chen
d4a8ebab43 Revert "Update background color for Settings homepage"
Revert submission 31308110-update_bg_color

Reason for revert: revert it for version update. see b/39168510

Reverted changes: /q/submissionid:31308110-update_bg_color

Change-Id: Iac217ab6e5f49ecada79d3258df37e822f452f08
2025-02-19 05:23:44 -08:00
Yiyi Shen
b7518c56e1 Merge "[Audiosharing] Revert ag/31626042 (exclude utils)" into main 2025-02-19 02:32:06 -08:00
Yiyi Shen
fca184598d [Audiosharing] Handle add source from notif in receiver
Test: atest
Bug: 395786392
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ia9a74a48224974c10524f1ae379cd9de2ff42430
2025-02-19 18:04:13 +08:00
Garvita Jain
c543fa8101 Merge "L10n fix for IW locale in storage_summary string" into main 2025-02-19 01:38:19 -08:00
tom hsu
5d2678938f Modify the default satellite category title.
Flag: EXEMPT resource update
Fix: b/382707562
Test: Manual test
Change-Id: I6f6e748de4ec6c44bac1fda15a68f587e2708182
2025-02-19 09:35:59 +00:00
Yiyi Shen
2c5f451b3a [Audiosharing] Revert ag/31626042 (exclude utils)
FP will handle set temp for manual pair in Settings

Test: atest
Flag: com.android.settingslib.flags.enable_temporary_bond_devices_ui
Bug: 392004799
Change-Id: I3afae523ef0d5a6c236a482127a714f422a6e000
2025-02-19 01:23:52 -08:00
Aleksander Morgado
4a2abf7705 Early check for SIM EID availability based on telephony or user admin
The SIM EID field was already not being shown if the
PackageManger.FEATURE_TELEPHONY_DATA feature flag was not set, per the
check in getIsAvailableAndUpdateEid().

The async availability update was introduced in the context of bug
304560734, because the UI could block until the EID value was ready.
The config_show_sim_info check was left in getAvailabilityStatus() as
that cannot block.

This change moves to getAvailabilityStatus() the availability check
based on the PackageManager feature flags (which are set on system
boot and not changed during runtime) and also based on whether the
user is admin or not, as with any other telephony related setting.
None of these two checks would lead to ANR state.

Bug: 395714454
Flag: EXEMPT bugfix
Test: atest SimEidPreferenceControllerTest

Change-Id: I3447091670345285132a2acaf45cd129c2b84c00
2025-02-19 00:50:05 -08:00
Yiyi Shen
0ccc9eefc4 [Audiosharing] Handle cancel notification in receiver
Test: atest
Bug: 395786392
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ib4b8ed3eff1df01819b37be2c1334abeae00ea2c
2025-02-19 15:01:03 +08:00
Treehugger Robot
9fb0e28bf7 Merge "Fix BiometricEnrollActivityTest Fail" into main 2025-02-18 23:00:01 -08:00
Treehugger Robot
22e2cd594e Merge "Fixed accessibility issues in Wi-Fi SSID view" into main 2025-02-18 22:38:53 -08:00
YK Hung
7ab462f1d7 Merge "[Expressive Battery] Migrate tips card in battery usage to banner message" into main 2025-02-18 21:25:50 -08:00
Weng Su
d44941bd00 Fixed accessibility issues in Wi-Fi SSID view
- Keep the Save button enabled at all times

- Show "Enter the SSID" to remind the user

Bug: 386897596
Flag: EXEMPT bugfix
Test: Manual testing
  atest SettingsUnitTests:AddNetworkFragmentTest
  atest WifiConfigController2Test
Change-Id: I6cc6b197864511ee2c1c92affc67698b1761f11d
2025-02-19 13:22:26 +08:00
Yiyi Shen
f5098877fc Merge "[Audiosharing] Show add source notif when app not in foreground" into main 2025-02-18 21:16:48 -08:00
Yiyi Shen
baf07b187a Merge "[Audiosharing] Add actions to AudioSharingReceiver intent filter" into main 2025-02-18 21:16:48 -08:00
Nikhil Nayunigari
487a4774d1 Add ethernet interface details settings subpage
Adds a click listener to the ethernet interface row and displays a
settings subpage with interface connection status.

Flag: com.android.settings.connectivity.ethernet_settings

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

Change-Id: Id64ce3657b47dd4ca70d425dd3d13227c8468d2c
2025-02-19 04:55:22 +00:00
Garvita Jain
4e5595050f L10n fix for IW locale in storage_summary string
storage_summary is passed as a single string of format "32 GB".
Spliting the phrase to allow TC to remove whitespace in case of iw
translations.

Old Translation : <free_space>
New Translation: <free_space_value> <free_space_unit>

Bug: 387197875
Test: manual
Flag: EXEMPT bugfix
Change-Id: I91abf58df472650a6278b08e4daa5d32e7f90da9
2025-02-19 04:19:16 +00:00
mxyyiyi
9ba79d8b02 [Expressive Battery] Migrate tips card in battery usage to banner message
- Update card preference: Update icon hint color by banner attention level
- Remove redundant color token: Use the existing Material yellow as a warning color

Bug: 349652542
Test: atest BatteryTipsControllerTest
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I35730eb4716e9dbd712c22db63490e8bc06fc482
2025-02-19 10:33:13 +08:00
Treehugger Robot
1c7a5041a1 Merge "Post 16KB notification for all users" into main am: 0414af8d0d am: 8971b66a8d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3494927

Change-Id: Ia6707aa93c838e5c6f5245ecb56362ceea42f6e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 17:56:55 -08:00
Treehugger Robot
8be34b7d4c Merge "aconfig flags for Settings are in the system_ext container" into main 2025-02-18 17:38:09 -08:00
Yongshun Liu
67c5db13ff Merge "a11y: Clean up magnification mode controller and fix lint errors" into main 2025-02-18 17:28:49 -08:00
Treehugger Robot
8971b66a8d Merge "Post 16KB notification for all users" into main am: 0414af8d0d
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/3494927

Change-Id: I19888c5dc377d54e6dd5d9ae3a64ff8e6ace616c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-18 17:20:34 -08:00
Treehugger Robot
0414af8d0d Merge "Post 16KB notification for all users" into main 2025-02-18 16:53:54 -08:00
Treehugger Robot
4e49c7258c Merge "[Catalyst] Rebind restricted preferences for SettingsPreferenceFragment" into main 2025-02-18 16:35:12 -08:00
Varun Shah
98d20b2cd5 Remove the perform backup tasks flag.
This flag is now abandoned and will not be used in the future.

Bug: 382295619
Test: builds
Flag: EXEMPT removing com.android.settings.flags.enable_perform_backup_tasks_in_settings
Change-Id: I1aa162145b09f18ad0cc8d16d96dbd6d07b149a9
2025-02-18 16:06:13 -08:00
Nikhil Nayunigari
0afd3f64a5 Merge "Display one row item per Ethernet interface" into main 2025-02-18 15:39:43 -08:00
Owner Cleanup Bot
105d03ae8a [owners] Remove bonianchen@google.com from src/com/android/settings/wifi/calling/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/bonianchen@google.com

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

Change-Id: Id0eb15daeefb919819a81e2d583ec3a10a38cb5b
2025-02-18 15:13:06 -08:00
Owner Cleanup Bot
833acfe497 [owners] Remove bonianchen@google.com from src/com/android/settings/sim/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/bonianchen@google.com

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

Change-Id: I4c8726b26469e9f8f986b2e54fe0a8edea21f246
2025-02-18 15:12:57 -08:00
Owner Cleanup Bot
e7f39e5b8f [owners] Remove bonianchen@google.com from src/com/android/settings/deviceinfo/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/bonianchen@google.com

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

Change-Id: I7dd96429039695468c84a638d37c7eca754ffc9d
2025-02-18 15:12:45 -08:00
Owner Cleanup Bot
c461f99ea4 [owners] Remove bonianchen@google.com from src/com/android/settings/datausage/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/bonianchen@google.com

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

Change-Id: I0de09c3d6210d303b37df065f33d38fa3b9b093a
2025-02-18 15:12:32 -08:00
Yongshun Liu
b8ee801dfd a11y: Clean up magnification mode controller and fix lint errors
This cleans up the magnification mode controller and related code. It
also fixes most of the lint errors in the files.

NO_IFTTT=linter not working

Bug: b/388335935
Flag: EXEMPT refactor
Test: com.android.settings.accessibility.ToggleScreenMagnificationPreferenceFragmentTest & com.android.settings.accessibility.MagnificationModePreferenceControllerTest
Change-Id: I368128c3c71285a9511a7831e1d01232e7536d2f
2025-02-18 23:02:08 +00:00
Pawan Wagh
64954821d3 Post 16KB notification for all users
PageAgnostic mode notification doesn't show up when
user switch happens. Post the notification for all users

Test: Enable16KB mode and switch users
Bug: 397319900
Change-Id: Ia32f42223075eb0d91034f82580c80b0879dda06
2025-02-18 22:09:14 +00:00
Jack Yu
a38de2654d Cleaned up the flag enforce_telephony_feature_mapping_for_public_apis
Cleaned up the 24Q3 flag enforce_telephony_feature_mapping_for_public_apis

Test: Basic telephony functionality tests
Test: atest FrameworksTelephonyTests
Bug: 297989574
Flag: EXEMPT flag cleanup
Change-Id: Iefb9a02eebe06fb42a23d645e6be034c94508487
2025-02-18 13:32:36 -08:00
Bill Yi
1a987d259c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-18 11:06:56 -08:00
Bill Yi
1a8f4bb4ac Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-18 11:06:56 -08:00