Commit Graph

146377 Commits

Author SHA1 Message Date
Vlad Popa
b136fcfe18 Remove rolled out flag automatic_bt_device_type
This flag has been rolled out in 24Q3 and can be removed.

Test: atest BluetoothDetailsAudioDeviceTypeControllerTest
Bug: 302323921
Flag: EXEMPT removing com.android.media.automatic_bt_device_type
Change-Id: I9997ef60f195b36298c36078eadf6c0a82bc662d
2025-02-05 16:04:50 -08:00
Treehugger Robot
b5299b17d9 Merge "fix(high contrast text): Uses a new string resource for the settings action." into main 2025-02-04 16:24:08 -08:00
Matthew DeVore
ef1543fe6b Merge "Hide v1 conn. display illust. and Use toggles" into main 2025-02-04 15:56:51 -08:00
Yining Liu
b602e4b0fc Merge "Fix the toggle status for show sensitive content switches" into main 2025-02-04 15:26:44 -08:00
Daniel Norman
f6b3ccd074 fix(high contrast text): Uses a new string resource for the settings action.
The old string has all non-English translations without format
placeholders, which will fail to build the string on those
languages until translations are added.

Bug: 384791485
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Change-Id: I4565610908d463c05576d5c5d0b083f76802cc9e
2025-02-04 15:26:24 -08:00
Yining Liu
ed4e9d6c92 Merge "Notification on lockscreen settings: default unseen setting value" into main 2025-02-04 15:25:25 -08:00
Riley Jones
a1e47ef860 Merge "Update strings again for refreshed High Contrast Text" into main 2025-02-04 15:17:23 -08:00
Justin Weir
5851927407 Merge "Add super call to onCreateView" into main 2025-02-04 15:08:12 -08:00
Ebru Kurnaz
32c45640ad Merge "Add a flag for display size settings for connected displays." into main 2025-02-04 15:00:25 -08:00
Justin Weir
bd5eefb017 Add super call to onCreateView
Bug: 392487897
Test: Ran LockscreenWithOverSixDigitPIN with and without this change
Flag: EXEMPT small bug fix
Change-Id: Ieaba6222f9751d4e87040a5cb59d0364fe153700
2025-02-04 16:02:05 -05:00
Julia Reynolds
d46bed9b13 Merge "Add app level settings for classification and summarization" into main 2025-02-04 12:56:49 -08:00
Ebru Kurnaz
efa318c419 Add a flag for display size settings for connected displays.
Flag: com.android.settings.flags.display_size_connected_display_setting
Test: NA
Bug: 392853666
Change-Id: If31d7786bea7fa17b9da3e77f47e3dc060fc6b1d
2025-02-04 20:02:25 +00:00
Julia Reynolds
55441003d3 Add app level settings for classification and summarization
Test: AdjustmentKeyPreferenceControllerTest
Flag: android.app.nm_summarization
Flag: android.app.notification_classification_ui
Flag: android.app.nm_summarization_ui
Bug: 377697346
Bug: 390412878
Change-Id: I85b67b5c0376ee4cd962e26bf178aae6fa712212
2025-02-04 10:53:57 -08:00
Matthew DeVore
cefb6ac11f Hide v1 conn. display illust. and Use toggles
In the rotation/resolution preference UI, stop showing UI parts which
are only applicable in the original connected display UI. We will still
show them if the topology pane is disabled.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/366056922
Test: manual
Change-Id: I2897576d5e7eb69a43bf17b967e2ae5f0321998c
2025-02-04 12:51:40 -06:00
Matthew DeVore
883070758b Merge "Show a category for each external display" into main 2025-02-04 10:38:14 -08:00
Wes Okuhara
2701724b02 Merge "Settings: Add tethering strings for device product type" into main 2025-02-04 10:14:19 -08:00
Liefu Liu
121036ee7e Merge "Minor UI string change in Contacts Storage Setting." into main 2025-02-04 08:35:56 -08:00
Treehugger Robot
d6e366ae32 Merge "[Catalyst] Implement AirplaneModePreference.tags" into main 2025-02-04 06:38:34 -08:00
Allen Su
c32021846e Merge "Fix unnecessary dialog" into main 2025-02-04 03:18:05 -08:00
Jacky Wang
e1c3d8a7b3 [Catalyst] Implement AirplaneModePreference.tags
NO_IFTTT=Catalyst only

Bug: 388061003
Flag: com.android.settings.flags.catalyst
Test: N/A
Change-Id: I3d51a390b0ef792c5f8497e68bd232ef0bd6f752
2025-02-04 18:48:54 +08:00
Jacky Wang
d829ec4675 [Catalyst] Implement metrics/tags for "Data Saver"
Bug: 388061003
Flag: com.android.settings.flags.catalyst
Test: devtool
Change-Id: I240e7a1cf5a27dfd686746d0c754d74c1c95d1ab
2025-02-04 18:24:46 +08:00
Jacky Wang
2e265d4a7a [Catalyst] Introduce SettingsContract file
The new file contains all contract constants for external usages (e.g.
slice, external Get/Set API). Also reuse existing constants in
SettingsSlicesContract.

NO_IFTTT=Catalyst only

Bug: 388061003
Flag: EXEMPT refactor
Test: atest
Change-Id: I449b7b6cf82e1e102f2c96a21835191605f09943
2025-02-04 18:24:46 +08:00
Treehugger Robot
1ecacd8a5a Merge "Add one more param to isChargingOptimizationMode() for flexibility" into main 2025-02-04 01:01:51 -08:00
Jacky Wang
ef0b28e415 Merge changes from topic "sound" into main
* changes:
  Fix IntentReceiver leaked on Sound & vibration
  Get rid of VolumeSeekBarPreferenceController.setCallback
2025-02-04 00:53:31 -08:00
Treehugger Robot
2d664f308d Merge "Cleaned up the flag enable_modem_cipher_transparency" into main 2025-02-03 23:26:36 -08:00
Jacky Wang
402e5bb38b Fix IntentReceiver leaked on Sound & vibration
The root cause is that PreferenceController migrated to Catalyst will be
removed by DashboardFragment and VolumeSeekBarPreferenceController
onPause() is not invoked.

NO_IFTTT=Controller only

Fix: 386162594
Flag: EXEMPT bugfix
Test: atest&manual
Change-Id: I13f8588c8259ed4ddb9895ffc60e209c99c05269
2025-02-04 15:08:38 +08:00
Jacky Wang
a7fa6efe8f Get rid of VolumeSeekBarPreferenceController.setCallback
Set the callback to VolumeSeekBarPreference directly and simplify
SoundSettings.

Bug: 386162594
Flag: EXEMPT refactor
Test: atest&manual
Change-Id: Ic114c15c236da9f3ea3754408adbfa9c841befd0
2025-02-04 15:08:38 +08:00
Jean Chen
c1163a15d6 Merge "Increment TeX counters for the HCT migration about notification dismissed." into main 2025-02-03 22:44:09 -08:00
Yiling Chuang
ab6b7758c1 Add one more param to isChargingOptimizationMode() for flexibility
Adds a new param about the charging policy to see if it's currently under CHARGING_POLICY_ADAPTIVE_LONGLIFE for more flexibility to check whether the charging optimization mode is enabled.

Bug: 391270019
Flag: EXEMPT bugfix
Test: atest SettingsRoboTests
Change-Id: Ie773d9a2a13d1a37ac9fd5940f10a100eccf77ca
2025-02-04 03:53:51 +00:00
Treehugger Robot
2117499c9e Merge "Fix NPE issue in Internet Settings" into main 2025-02-03 19:50:56 -08:00
Treehugger Robot
346a76501a Merge "[E2E] Update the Settings Homepage for new E2E rule" into main 2025-02-03 18:29:41 -08:00
Shawn Lin
d6e99d3783 Merge "Provide a way to customize biometric SafetySourceIssue" into main 2025-02-03 18:18:37 -08:00
chenjean
2028e7b4b4 Increment TeX counters for the HCT migration about notification dismissed.
Bug: 391672253
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Test: Ensure dismissing a notification from open settings does not trigger multiple counter increments
Change-Id: I6ddccd40427cf2364d3fb5df4efaa0b16db26133
2025-02-04 07:55:54 +08:00
Riley Jones
36d59c85b7 Merge "Adjust A11y Shortcut settings to use lowercase shortcut names." into main 2025-02-03 14:51:18 -08:00
Yining Liu
4b43425394 Merge "Fix the test failures for the new lock screen notifications settings page" into main 2025-02-03 14:20:44 -08:00
Matthew DeVore
c1191380b8 Show a category for each external display
Rather than show all external displays as a single item each under one
category, each external display has its own category. For now, the
category only has one item: the single Resolution+Rotation option.

This is more consistent with the Built-in display, which also still
only has one preference item in the category.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Bug: b/392946322
Test: ExternalDisplayPreferenceFragmentTest
Test: Open display list with two displays connected, and remove them one at a time
Change-Id: I4d7f8410f506fe53201bc87f8b55ffc6d407a9c5
2025-02-03 20:23:17 +00:00
Daniel Norman
6d0a04a171 Update strings again for refreshed High Contrast Text
Deletes the old string resource and uses a new resource because the old
translated strings do not have formatting placeholders. Eventually the
old translated strings will be automatically deleted and the new string
with placeholder will be translated.

Also uses placeholders for referencing other strings so that
we guarantee that the strings are consistent across this notification
and the actual preference in Settings.

Bug: 384791485
Test: see bug screenshots
Flag: com.android.graphics.hwui.flags.high_contrast_text_small_text_rect
Change-Id: I89a9ee4b3755b20f4e090df5b4cccb7ce47a961c
2025-02-03 20:00:09 +00:00
Liefu Liu
27f16da565 Minor UI string change in Contacts Storage Setting.
Bug: 394114508
Test: atest ContactsStorageSettingTest
Flag: EXEMPTED

	modified:   res/values/strings.xml
	modified:   tests/robotests/src/com/android/settings/applications/contacts/ContactsStorageSettingsTest.java

Change-Id: I2246f6a71116acd7d3ae256133ed1fea77c8ebab
2025-02-03 11:54:11 -08:00
Matthew DeVore
e8143a07a4 Allow pane height to shrink when setting topology
A recent CL added a feature to prevent the pane height from shrinking to
stop widgets from moving around. This is actually not a great experience
because a temporary state can keep the pane height very tall and
increase scrolling.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Bug: b/352648432
Test: change topology to be vertically shorter and verify the pane height shrinks
Change-Id: Ic48bfecea083a45c702c8719e3c93ceba55ae872
2025-02-03 13:37:16 -06:00
Matthew DeVore
531d9d6e6a Merge "Do not show entry point when no CD attached" into main 2025-02-03 10:46:59 -08:00
Treehugger Robot
cf90807c61 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-03 09:26:41 -08:00
Treehugger Robot
4ff275dfdd Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-03 09:26:41 -08:00
Treehugger Robot
69dedd85d7 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-02-03 09:26:41 -08:00
Fiona Campbell
fb79b1a294 Merge "Make Extra Dim Setting as percentage of device" into main 2025-02-03 09:13:50 -08:00
Yomna N
6cd518057a Merge "Fix missing controller key and remove onCreatePreferences" into main 2025-02-03 08:26:41 -08:00
Zoey Chen
d9214f1328 Merge "[Settings] Add a flag to control show new App language picker UI or not" into main 2025-02-03 06:32:08 -08:00
Treehugger Robot
c2312bafed Merge "Add search keywords to touchpad settings." into main 2025-02-03 05:35:59 -08:00
Matías Hernández
294027503d [automerger skipped] Merge "Remove incorrect call to Window.addFlags with a system flag" into tm-dev am: 98fc4f2356 am: dbf59af214 am: 6e347e2da2 -s ours am: 64b322af00 -s ours am: 088e57a6ae -s ours am: adf9bed8e8 -s ours
am skip reason: Merged-In I539fca77a1d136bdd0e4892993020884430b8a4e with SHA-1 2a6672dd33 is already in history

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

Change-Id: Iff3c4aa13a6ca6bb1479789f75b690ecb34eeda8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-03 05:34:33 -08:00
Matías Hernández
02abac6119 [automerger skipped] Merge "Remove incorrect call to Window.addFlags with a system flag" into tm-dev am: 98fc4f2356 am: c2c7c0d984 -s ours am: 8a9a9fd424 -s ours am: 01fbb2e467 -s ours am: d85a1ca8a8 -s ours
am skip reason: Merged-In I539fca77a1d136bdd0e4892993020884430b8a4e with SHA-1 c97cd9e805 is already in history

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

Change-Id: I2518223cf6691236a1c91e09e9b1562401c628f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-03 05:34:20 -08:00
Matías Hernández
adf9bed8e8 [automerger skipped] Merge "Remove incorrect call to Window.addFlags with a system flag" into tm-dev am: 98fc4f2356 am: dbf59af214 am: 6e347e2da2 -s ours am: 64b322af00 -s ours am: 088e57a6ae -s ours
am skip reason: Merged-In I539fca77a1d136bdd0e4892993020884430b8a4e with SHA-1 2a6672dd33 is already in history

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

Change-Id: Id4169c53e7ed6d66c32ea6700d17c89e99210df0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-03 05:10:32 -08:00