Commit Graph

31817 Commits

Author SHA1 Message Date
Matías Hernández
916d02c958 Add DND icon as option in the icon picker
Goodbye croissant mode. 🥐🥲

Bug: 361597532
Test: manual
Flag: android.app.modes_ui
Change-Id: Ic8c3dc0d45eab660da84ea844d3315b425954564
2024-08-30 15:25:43 +02:00
Bill Yi
1a2dfb2c8b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I11b453d82ca14af9e94ed50cb334c9bdc97bd571
2024-08-29 22:22:47 -07:00
Chaohui Wang
c72c540ab6 Merge "Clean up InternetPreferenceController" into main 2024-08-30 03:29:56 +00:00
Diya Bera
4f8e95fb57 Update identity check string for biometric prompt string
Flag: android.hardware.biometrics.Flag.mandatory_biometrics
Fixes: 362799712
Test: Manual
Change-Id: Ie04a805c56d8867e2e039e4904f6f4dfc78cb0e5
2024-08-29 14:49:24 +00:00
Chaitanya Cheemala (xWF)
3605e23587 Merge "Revert "Show a dialog if bluetooth key is missing when reconnecting"" into main 2024-08-29 11:36:05 +00:00
Chaitanya Cheemala (xWF)
29c7cc0cb5 Revert "Show a dialog if bluetooth key is missing when reconnecting"
Revert submission 28985385-bt_key_missing_dialog

Reason for revert: Likely culprit for b/362901443  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:28985385-bt_key_missing_dialog

Change-Id: I2a3ab8f0dbd2c81eda49d11abc6d586f59f149e9
2024-08-29 10:25:04 +00:00
Chaohui Wang
fc8e8991c9 Clean up InternetPreferenceController
And also the flag.

Bug: 339884322
Flag: com.android.settings.flags.internet_preference_controller_v2
Test: manual - Network & internet
Change-Id: Icb3427f6624db0442c05f5e149dbe522d1497e83
2024-08-29 15:55:44 +08:00
Chaohui Wang
bb8199e8be Merge "Create VideoCallingRepository" into main 2024-08-29 06:52:50 +00:00
Haijie Hong
5247f4936d Merge "Show a dialog if bluetooth key is missing when reconnecting" into main 2024-08-29 05:59:34 +00:00
Yiyi Shen
840495eb5c [Audiosharing] Fix text truncated
Fix: 359814312
Test: manual
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: Ia278d30019efad4a035d02f7ea3812e84dfdba8f
2024-08-29 12:08:10 +08:00
Chaohui Wang
f218f76221 Create VideoCallingRepository
Also support settings search for video calling.

Fix: 233327342
Flag: EXEMPT bug fix
Test: manual - on mobile settings
Test: manual - search video calling
Test: unit test
Change-Id: Ic4a25849f77f1759fa157931d428daa9e6854ff2
2024-08-29 03:37:50 +00:00
Yuri Lin
772928694f Merge "Add modes to Settings homepage." into main 2024-08-29 00:56:11 +00:00
Yuri Lin
3ccbb0ffa5 Add modes to Settings homepage.
Also moves the modes entrypoints out of the sub-pages it was previously in (notifications and sound settings).

Bug: 353700470
Test: manual by opening the homepage
Flag: android.app.modes_ui
Change-Id: I53124bfed25c43fc2dabaf9c43ce0513bbfc7377
2024-08-28 13:13:46 -04:00
Chris Antol
468e15f49a Supported updated suggestion cards in AOSP Settings
Flag: com.android.settings.flags.updated_suggestion_card_aosp
Bug: 323258154
Test: Enable flag and trigger suggestion cards to show
Change-Id: Iee47d05d8d75c10ba073ae3541f108bc37b4c09b
2024-08-28 16:35:01 +00:00
Pat Manning
4c90aa7404 Merge "Replace Large mouse pointer setting with Pointer Scale" into main 2024-08-28 12:22:36 +00:00
Pat Manning
f81aec1662 Replace Large mouse pointer setting with Pointer Scale
Bug: 269100659
Test: LargePointerIconPreferenceControllerTest
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: Ic643eb1eb862388eddf5d6f3de2d25739d4d23ad
2024-08-28 11:16:09 +00:00
Haijie Hong
34cf0cbea1 Show a dialog if bluetooth key is missing when reconnecting
BUG: 360031750
Test: atest BluetoothKeyMissingDialogTest
Flag: com.android.settings.flags.enable_bluetooth_key_missing_dialog
Change-Id: Iab75675b4cd8fec7ab55516cd0f057a9c7d92f7e
2024-08-28 15:55:35 +08:00
Haijie Hong
4775f41ec6 Merge "Add help button on the top right corner of more settings page" into main 2024-08-28 05:35:57 +00:00
Treehugger Robot
ef600038a1 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-28 02:48:39 +00:00
Bill Yi
14956078e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I08e37b009a69693ff4f1c6b1a69ba6e91d43af0f
2024-08-26 16:37:51 -07:00
Bill Yi
2a94059149 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6f459f9993b33465157c35a95112acf56241a09f
2024-08-26 16:35:58 -07:00
SongFerng Wang
71d9d362b2 Merge "Modify the preferredSimDialogFragment" into main 2024-08-26 07:20:30 +00:00
songferngwang
b6be744bc6 Modify the preferredSimDialogFragment
After the telephony flag resetPrimarySimDefaultValues on, the telephony
set the preferred default subscription to remaining sim. Therefore, here
can ask whether the user uses [remaining SIM] for mobile data or not

Bug: 349783684
Test: remove the sim card, and settings show "use mobile data" dialog
Flag: EXEMPT bugfix
Change-Id: I5e3399e777bf1e8ef7998074082e55635eb23eb4
2024-08-23 09:24:21 +00:00
Yuri Lin
4327d5e873 Merge "Add interstitial layout for larger screen devices" into main 2024-08-22 15:37:42 +00:00
Yuri Lin
29042b18a7 Add interstitial layout for larger screen devices
For large enough screens, always use the portrait (all vertical in one column) layout for the intestitial, since the landscape split in two halves only makes sense for smaller screens.

Renames the layout to mode_interstitial_layout_base and uses an alias so that we can reuse the same layout but with additional padding.

Fixes: 361344824
Test: manual
Flag: android.app.modes_ui
Change-Id: I4e02e9a246ee799e3a79508f11290397a236574c
2024-08-21 17:02:14 -04:00
Haijie Hong
ae26d5d17e Add help button on the top right corner of more settings page
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I3053c0495d4c3cfefcd4f77c9114c4c8c8fe08ca
2024-08-21 20:54:42 +08:00
Treehugger Robot
3962159cd2 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-21 07:56:18 +00:00
Treehugger Robot
827add6f0c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-21 07:56:18 +00:00
Ben Murdoch
8cd5a449dd Merge "Update "bottom right tap" string to "click"." into main 2024-08-20 14:44:24 +00:00
Matías Hernández
ef4792c811 Merge "Flip the INTERRUPTION_FILTER_ALL switch" into main 2024-08-20 14:06:17 +00:00
Ben Murdoch
29857065ea Update "bottom right tap" string to "click".
Fixes: 318967325
Flag: EXEMPT string update only
Test: check on device.
Change-Id: Icc996db78e256c02078da0bd600a18f45d4bad73
2024-08-20 11:41:51 +00:00
Haijie Hong
fa56fb9bbf Merge "Add device details more settings page" into main 2024-08-20 09:43:30 +00:00
Edgar Wang
fa32f347fe Merge "[Homepage Revamp] adjust search bar padding" into main 2024-08-20 09:42:49 +00:00
Chaohui Wang
b3ee1d70c4 Settings search for Carrier settings version
Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search carrier
Test: unit test
Change-Id: I4c13d22a6b689273684ff44df8071789a7a78d6e
2024-08-20 13:22:04 +08:00
Bill Yi
a270fa274b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I606040c66f03676a8406e49be1166a94b2b12d08
2024-08-19 15:35:56 -07:00
Bill Yi
a8df4e4376 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0b3b3199ff8c32bc580a51c99e41270623a2ed3d
2024-08-19 15:32:29 -07:00
Matías Hernández
c85e48b0aa Merge "Rename DND Access to Priority Modes Access in Settings" into main 2024-08-19 17:18:26 +00:00
Haijie Hong
7cd4a3987f Add device details more settings page
BUG: 343317785
Test: atest DeviceDetailsFragmentFormatterTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ia9eff049e73e039ac5d0fb26096ab4e9add60315
2024-08-19 23:41:16 +08:00
Matías Hernández
fe1d29699e Rename DND Access to Priority Modes Access in Settings
Bug: 360384256
Test: manual
Flag: android.app.modes_ui
Change-Id: If01a14cfac8cf5660cf93ef10bce6a334472a0b9
2024-08-19 16:42:18 +02:00
Chaohui Wang
6f9f6cff6b Merge "Settings search for app data usage" into main 2024-08-19 05:17:45 +00:00
Treehugger Robot
4cffde0188 Merge "Use the new inspirational text in mode interstitials" into main 2024-08-16 18:52:44 +00:00
Treehugger Robot
2166d2ff8e Merge "Replace the TYPE_UNKNOWN icon, drop the rabbit, keep the lotus flower" into main 2024-08-16 18:43:18 +00:00
Matías Hernández
70a05ec421 Use the new inspirational text in mode interstitials
Also use the OTHER image for calendar/time, instead of UNKNOWN.

Bug: 332730534
Test: manual
Flag: android.app.modes_ui
Change-Id: I85a36d2d409ad3e9f3d5f70f95d90512443971a7
2024-08-16 19:50:17 +02:00
Matías Hernández
1afff118cd Replace the TYPE_UNKNOWN icon, drop the rabbit, keep the lotus flower
Fixes: 360360424
Test: Manual
Flag: android.app.modes_ui
Change-Id: I9a48453aa27e7610e27cdb62e6dc1a212ade3a75
2024-08-16 19:02:32 +02:00
Matías Hernández
7883588653 Flip the INTERRUPTION_FILTER_ALL switch
Instead of "Limit what can notify you", title is now "Allow all notifications" and its behavior is reversed (switch ON hides people/apps/other).

Fixes: 360359116
Test: atest InterruptionFilterPreferenceControllerTest + manual
Flag: android.app.modes_ui
Change-Id: Ibb5334889662ec3aa778cd74c51506718ab0ebc7
2024-08-16 16:45:54 +00:00
Matías Hernández
0a5c7530ed Merge "Fix several issues related to CircularIconsPreference" into main 2024-08-16 16:44:24 +00:00
Matías Hernández
b676ca3a62 Fix several issues related to CircularIconsPreference
* Sometimes would cause an unending stream of accessibility events (particularly if starting off-screen). This would break TalkBack and anything that depends on UiAutomator (although the system itself took it like a champ).
* Sometimes would not load images (because the ViewTreeObserver would never fire onGlobalLayout after being added because measured width was 0, even though a new width was calculated later).
* Would not recalculate the number of icons that fit if the width changes after the first layout.

Combining ViewHolders with waiting for measuring and/or ViewTreeObservers was always a wonky approach, even though it should've worked in theory. This should be more robust.

Also fixes the unwanted animation on mode screen load related to the absence of the header name being applied a tad too late.

Fixes: 359948417
Fixes: 360072876
Fixes: 360328804
Test: atest SettingsRoboTests + manual + adb shell uiautomator events
Flag: android.app.modes_ui
Change-Id: I7e5dfbdab220d1ebc1c68e5e87ce544ee86b6a65
2024-08-16 16:20:38 +02:00
Xinyi Mao
eb1fc8415b Merge "Migrate Spinner on Battery Usage to settingsLib Spinner widget." into main 2024-08-16 07:21:07 +00:00
Chaohui Wang
f2591b2968 Settings search for app data usage
Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search app data usage
Change-Id: Ie39a7f25b72f7b264f53329082fa34231c2aaa89
2024-08-16 14:02:24 +08:00
mxyyiyi
05e857de6a Migrate Spinner on Battery Usage to settingsLib Spinner widget.
Bug: 359429437
Test: visual
Test: atest BatteryUsageBreakdownControllerTest
Flag: EXEMPT bug fix
Change-Id: I71bd1f31db302d407603c71d1a1163ed22fafed8
2024-08-16 13:40:07 +08:00