Commit Graph

146388 Commits

Author SHA1 Message Date
mxyyiyi
45ac3f280d [Expressive Battery] Update screen on time text preference style.
For expressive style:
- Update the enlarge font size
- Remove the background

Bug: 349652542
Test: visual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: If85d2903eec6d1f7c3b58e71daef2409325ac83d
2025-02-06 16:00:10 +08:00
yqian
4dfe488d8b [Cleanup] remove flag enable_bonded_bluetooth_device_searchable
the feature is enabled in prod already

Test: atest ConnectedDeviceGroupControllerTest
Bug: N/A
Change-Id: I7b2674bd42ed0a3bbe03c74ff52c3ccd830178dc
Flag: EXEMPT just cleanup
2025-02-04 21:35:12 -08:00
Treehugger Robot
1436ea1351 [automerger skipped] Merge "[SPA] Add biometric authentication for package modification" into udc-qpr-dev am: 06151a58c6 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 32e388ad31 is already in history

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

Change-Id: Ic4072860f67d5955f46148caa16906d90804e95e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-04 21:20:11 -08:00
Shraddha Basantwani
7f653bb7a6 [automerger skipped] [SPA] Add biometric authentication for package modification am: 891d4be094 -s ours
am skip reason: Merged-In I0c494e307b02229d751de118abcc89e4e61a6861 with SHA-1 32e388ad31 is already in history

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

Change-Id: Ifda0762938a656966bfaa76d8e7f1fda2d0b4f04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-04 21:20:03 -08:00
Treehugger Robot
06151a58c6 Merge "[SPA] Add biometric authentication for package modification" into udc-qpr-dev 2025-02-04 20:46:20 -08:00
Hakjun Choi
be6525024d Merge "Clean up aconfig flag oem_enabled_satellite_flag" into main 2025-02-04 19:31:29 -08:00
Shaowei Shen
fd57eb5bb3 Merge "[Physical Keybaord] Fix Mouse key image truncate" into main 2025-02-04 19:17:34 -08:00
Jeff DeCew
6aa546ceb9 Merge "Add minimalism illustrations to the lock screen notifications settings page" into main 2025-02-04 18:57:23 -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
Yining Liu
466e16bfc9 Add minimalism illustrations to the lock screen notifications
settings page

Add static version minimalism illustrations to the lock screen
notifications settings page. We still need to replace the icons.

In the final version, illustrations will combine the light and dark
versions into a single file. The current status is a middle stage
stands for team fooding. The final version illustrations will also be
animations instead of static.

Bug: 367455695
Bug: 383778222
Flag: com.android.server.notification.notification_lock_screen_settings
Test: manual
Change-Id: I63c0452de60ce1aa94c7b414cb6e81dd98c5f361
2025-02-04 15:11:54 -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
shaoweishen
50ea6b06d5 [Physical Keybaord] Fix Mouse key image truncate
Seperate Images in Mouse Key page to apply scaling.

Bug: 389665773
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: I207c13fb99fa5c01c08c7ca92eae2d1d5781a830
2025-02-04 08:35:11 +00: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