Commit Graph

6692 Commits

Author SHA1 Message Date
Xin Li
cfa19e11a6 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: Ie90e7495dd4a134538bae6e3e08eea0d02134b14
Change-Id: I20517e9ee410e95f2cbeb1247c0c0288ed9f006f
2024-11-11 21:38:40 -08:00
Jaewan Kim
ea0b5d5950 Clear Linux terminal app when disabled
Bug: 374032310
Test: Manual, T/H
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Id56f98cf90b0598111baa3096b1b81307ebb99a3
2024-11-12 01:19:17 +00:00
Jaewan Kim
ed3abffcfc Make Linux terminal option profile aware
Bug: 374034911
Test: atest, plus following manual test \
  - Test tabbed UI with/without work profile \
  - Test that disabled by work profile launches alert dialog \
  - Test whether toggling an app only toggle the app for the user.
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: I4bf0a2d521cf3e632f6c0320e0b5cc0154d5b68f
2024-11-11 14:31:19 +09:00
Jaewan Kim
591d4fd932 Enable Linux terminal app via developer settings
Bug: 369246712
Test: `atest SettingsRoboTests`, try toggle the option, \
  and try search with 'Linux'.
Flag: RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: Ibdcf00de04f09fe5b03ba53857904945354ed844
2024-10-16 15:49:12 +00:00
Maryam Dehaini
6a6a3efe57 Merge "Change "Open by default" setting page selection to radio buttons" into main 2024-09-23 22:45:07 +00:00
Maryam Dehaini
11825b0bc7 Change "Open by default" setting page selection to radio buttons
Selection to open page in app or browser needs to be displayed via radio
buttons as discussed here: http://b/346622495#comment14

Bug: 359262490
Test: Open links in app and browser
Flag: EXEMPT small UI change
Change-Id: Ib23084bcc7f899b97b59019775584807e5b70d7e
2024-09-23 14:32:08 -07:00
Pat Manning
6ce743bc1f Merge "Add keywords to Pointer Scale previously associated with Large Pointer." into main 2024-09-20 13:48:37 +00:00
Pat Manning
1142e899ad Add keywords to Pointer Scale previously associated with Large Pointer.
This will allow users to find the new Pointer Scale setting, even if
they are searching for the now removed Large Mouse Pointer.

Fix: 366376119
Test: Manual. Search in Settings for "Large" etc.
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: Ie6d02664d5c03196a89c76e8d0a493d5f05c107d
2024-09-18 12:15:43 +00:00
Chaohui Wang
777a179bd6 Create MobileNetworkSummaryRepository
For MobileNetworkSummaryController to use, so it no longer use
MobileNetworkRepository.

Fix: 366097262
Flag: EXEMPT refactor
Test: manual - on Network & internet
Test: atest MobileNetworkSummaryRepositoryTest
Change-Id: I8a9d52af8e230fc407a4339c27f73ef79d512b24
2024-09-18 13:07:50 +08:00
Matías Hernández
5dedf28f66 Merge "Remove "Do Not Disturb" from Sound summary in Settings top screen" into main 2024-09-13 18:46:25 +00:00
Pat Manning
753b476a39 Move pointer and touchpad customization settings to their own pages.
Bug: 269100659
Test: PointerTouchpadFragmentTest
Test: PointerTouchpadPreferenceControllerTest
Flag: android.view.flags.enable_vector_cursor_a11y_settings
Change-Id: I0dccf48f9b5416ad8e6d3c263188d4bb850f69e9
2024-09-12 10:33:40 +00:00
Matías Hernández
00e86639d8 Merge "Update "Dark Theme" Settings screen to account for Modes that can toggle it" into main 2024-09-11 15:57:46 +00:00
Matías Hernández
2a3e8b3070 Update "Dark Theme" Settings screen to account for Modes that can toggle it
Bedtime is no longer a special case.

Fixes: 361592187
Test: atest com.android.settings.display.darkmode
Flag: android.app.modes_ui
Change-Id: Iddc5d8142d6bc0bb1f5c4ead876ee201c8818b12
2024-09-11 11:52:50 +02:00
Matías Hernández
dd9b17b083 Remove "Do Not Disturb" from Sound summary in Settings top screen
Bug: 361140177
Test: manual
Flag: android.app.modes_ui
Change-Id: I11f808319bbcc2645e593f70003611f70a3fc930
2024-09-10 18:23:24 +02:00
Shaowei Shen
7910315b7a Merge "[Physical Keyboard][A11y Page] Add new Keyboard A11y page" into main 2024-09-05 03:35:32 +00:00
shaoweishen
bf4442162d [Physical Keyboard][A11y Page] Add new Keyboard A11y page
Add new Keyboard A11y page, and controled with flag.
Demo video: b/345399212#comment6

Bug: 345399212
Test: atest SettingsRoboTests
Flag: com.android.settings.keyboard.keyboard_and_touchpad_a11y_new_page_enabled
Change-Id: I4bd45ff16c8abb33e1cf56c377ea86c20195fe26
2024-09-04 10:00:52 +00:00
Chaohui Wang
d7a2aeb82d Clean up TARE
Bug: 331617295
Flag: EXEMPT clean up
Test: m Settings
Change-Id: Ie37617a082c7036672d2901ed45146932a5d97d8
2024-09-04 17:00:41 +08:00
Chaohui Wang
b12a4d30ad Settings search for Data warning & limit
Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search data warning
Change-Id: Ifc29b8979a5ba523e930b0c3a59fcb3d9ab99571
2024-09-04 02:33:23 +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
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
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
Matías Hernández
ef4792c811 Merge "Flip the INTERRUPTION_FILTER_ALL switch" into main 2024-08-20 14:06:17 +00:00
Haijie Hong
fa56fb9bbf Merge "Add device details more settings page" into main 2024-08-20 09:43:30 +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
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
Chaohui Wang
6f9f6cff6b Merge "Settings search for app data usage" into main 2024-08-19 05:17:45 +00: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
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
Chun-Ku Lin
1c5bd6f935 Merge "Revert "Revert "Don't truncate the title in Color Correction opt..."" into main 2024-08-13 20:18:33 +00:00
mxyyiyi
f32f31a68e Update PreferenceCategory style in battery usage.
- Remove 2 unexpected padding caused by empty title.
https://screenshot.googleplex.com/8Da8eyezLHnwpkj
https://screenshot.googleplex.com/cs6gRpNkWxDjRER

Bug: 359429437
Test: visual
Flag: EXEMPT bug fix
Change-Id: I055edf8f27a6c646df5c0c8fddfd849282334333
2024-08-13 15:38:55 +08:00
Haijie Hong
c2ed6d3242 Move rename button next to the device name
BUG: 343317785
Test: atest GeneralBluetoothDetailsHeaderControllerTest
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I87f030ca48d3edac13759fe51499b7e400dbb795
2024-08-12 12:31:45 +08:00
Chaohui Wang
e880a15aeb Merge changes from topic "PreferredNetworkModeSearchItem" into main
* changes:
  Dual SIM search for Preferred network type
  Refactor MobileNetworkSettingsSearchIndex
2024-08-09 02:50:04 +00:00
Treehugger Robot
93b093033a Merge "Migrate Tips Card in battery uasge to Settings Card." into main 2024-08-08 15:09:30 +00:00
mxyyiyi
427c9c3187 Migrate Tips Card in battery uasge to Settings Card.
before:
[Dark-settings]:https://screenshot.googleplex.com/56EiS3PbtRsh5RR
[Light-app]:https://screenshot.googleplex.com/8UDuFEkkrLUt53D

after:
[Dark-settings]:https://screenshot.googleplex.com/3zKxxGi2Awa6s72
[Light-settings]:https://screenshot.googleplex.com/rsgVh9P62x7itUa
[Dark-app]:https://screenshot.googleplex.com/56EiS3PbtRsh5RR
[Light-app]:https://screenshot.googleplex.com/6bfs2u43nZpHL8y

Bug: 357603119
Test: atest BatteryTipsControllerTest
Flag: EXEMPT bug fix
Change-Id: I25e3b407378b01ef9868326a005554ceb6e94181
2024-08-08 13:59:11 +00:00
Chaohui Wang
25d5816f5f Dual SIM search for Preferred network type
Bug: 358238959
Flag: EXEMPT bug fix
Test: manual - search preferred
Test: atest EnabledNetworkModePreferenceControllerHelperTest
Change-Id: Icb86d88eec3bcaaaf1db67f7008173a90957cbbc
2024-08-08 14:16:29 +08:00
Treehugger Robot
59f11d9377 Merge "Add Priority Modes link preference to sound" into main 2024-08-07 22:42:34 +00:00
Alexander Roederer
9c4521d094 Add Priority Modes link preference to sound
Test: manual. Flash and check Sound settings page
Flag: android.app.modes_ui
Bug: 341726633
Change-Id: Ic693057e537b7c663a111ce5165bb46d32d93642
2024-08-07 21:29:09 +00:00
Chun-Ku Lin
661c02fbb8 Revert "Revert "Don't truncate the title in Color Correction opt..."
Revert submission 28661116-revert-28616239-356726764-dont-truncate-color-correction-options-LCBEOTEYHE

Reason for revert: Attempt to re-land b/356726764 with a fix to add `sdk_verion: system_current` to the SelectorWithWidgetPreference aconfig

Reverted changes: /q/submissionid:28661116-revert-28616239-356726764-dont-truncate-color-correction-options-LCBEOTEYHE

Change-Id: Ia9c5d9f4362f06bb5a317d12a4fb32e53f5993dd
2024-08-07 00:40:18 +00:00
Priyanka Advani (xWF)
605c160a49 Merge "Revert "Don't truncate the title in Color Correction options"" into main 2024-08-06 21:19:51 +00:00
Priyanka Advani (xWF)
74e3432b8c Revert "Don't truncate the title in Color Correction options"
Revert submission 28616239-356726764-dont-truncate-color-correction-options

Reason for revert: Droidmonitor created revert due to b/357907390. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:28616239-356726764-dont-truncate-color-correction-options

Change-Id: Icb911cc954a046084dd198c61c2e6c4080145801
2024-08-06 19:57:02 +00:00
Chun-Ku Lin
b1f8213735 Merge "Don't truncate the title in Color Correction options" into main 2024-08-06 16:55:39 +00:00
Chaohui Wang
103e90636f Settings search for W-Fi calling
Fix: 299641035
Flag: EXEMPT bug fix
Test: manual - search wifi calling
Test: atest WifiCallingPreferenceControllerTest
Change-Id: I230531000d7fe01f3295cf2dd7ced698e5346a0b
2024-08-05 17:33:48 +08:00
Chaohui Wang
b9db3c5395 Settings search for Roaming
Fix: 351740003
Flag: EXEMPT bug fix
Test: manual - search roaming
Change-Id: I260449bdea7dcaae6a2d44c6810cf2638c18d9a4
2024-08-05 12:58:51 +08:00
Chun-Ku Lin
5460a244be Don't truncate the title in Color Correction options
By default, the SelectorWithWidgetPreference hard coded the maxlines of
the title to be 2 lines. Updating the SelectorWithWidgetPreference to
accept changes on maxlines on title.

Set titleMaxLines as 2147483647 (Integer.MAX_VALUE) as there is no
alternative to clear the maxLines that are already set by the Preference

Bug: 356726764
Test: manually tested the color correction screen in Deutsch
Test: verify the Wifi Hotspot sceurity screen is not affected by this
change (still have 2 as the max lines of the title)
Flag: EXEMPT resource only

Change-Id: I1414b6212b75d3f28bef6aad50a31ea7861d5811
2024-08-01 22:33:11 +00:00
Abdelrahman Awadalla
f2d6fe9e32 Add "Touchpad visualizer" to input developer options
Bug: 286551975
Bug: 350039816
Test: atest TouchpadVisualizerPreferenceControllerTest
Test: Manual testing using
      $ adb shell settings get system touchpad_visualizer
Flag: com.android.hardware.input.touchpad_visualizer

Change-Id: Ic5de704c49aabf1a80d202aa890055f7337d45d4
2024-08-01 13:34:32 +00:00
Chaohui Wang
09fb13fd1c Merge "Settings search for Vo5G" into main 2024-08-01 07:19:08 +00:00
Treehugger Robot
e79de39723 Merge "Revert^2 "Tweak Modes layouts and use updated strings to match mocks"" into main 2024-07-31 17:35:10 +00:00