Commit Graph

54576 Commits

Author SHA1 Message Date
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
Jakub Rotkiewicz (xWF)
d0ea9bc2bc Merge "bluetooth: remove debug logs guard" into main 2024-08-26 11:46:31 +00:00
Treehugger Robot
25c58a6e50 Merge "Clean up EuiccPreferenceController" into main 2024-08-26 07:59:04 +00:00
SongFerng Wang
71d9d362b2 Merge "Modify the preferredSimDialogFragment" into main 2024-08-26 07:20:30 +00:00
Treehugger Robot
9c44e35d02 Merge "Refine WifiDetailsSettingsActivity" into main 2024-08-26 02:25:19 +00:00
Treehugger Robot
ba055aa8c2 Merge "Add log for enable/disable zen mode" into main 2024-08-23 18:38:19 +00:00
Rambo Wang
deadbda614 Merge "Turn off RILD reset in Reset Network Settings Flow" into main 2024-08-23 18:20:01 +00:00
Michał Brzeziński
f7222611d9 Merge "Launching touchpad tutorial as user 0" into main 2024-08-23 15:45:13 +00:00
Rambo Wang
dd7d18ec8a Turn off RILD reset in Reset Network Settings Flow
The CL temporarily removes RILD reset in the flow and plans to bring it back when a more reliable solution is available.

Resetting RID in the flow may cause device failure to camp on the default cellular network.

The interface used to reset RILD in the flow was designed for telephony process silent restart feature. The implementation doesn't  work well together with other reset options (e.g. nvResetConfig).

Bug: 356272264
Test: Execute feature test plan, including regression test
Flag: com.android.internal.telephony.flags.reset_mobile_network_settings
Change-Id: I955bcb0b151f27dc73c03a580c0144bea9e3bfa3
2024-08-23 15:17:21 +00:00
Weng Su
a21fbfa612 Refine WifiDetailsSettingsActivity
- Use the parameter's intent to avoid re-creating it in getIntent()

Bug: 349180072
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ia3549eccf22e30c4fd1ae011c51cf7840c76b1e5
2024-08-23 17:41:10 +08: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
Treehugger Robot
f94d376104 Merge "Avoid launching Wi-Fi details settings if WifiEntry key is lost" into main 2024-08-23 07:48:57 +00:00
Treehugger Robot
bd74edd186 Merge "Add metrics for driving and bedtime interstitials" into main 2024-08-23 02:59:26 +00:00
Weng Su
64987b0bea Avoid launching Wi-Fi details settings if WifiEntry key is lost
- When restarting Wi-Fi details settings from the recent apps, the extra data of the sent Intent may be lost, resulting in the loss of the necessary WifiEntry key

- Don't launch Wi-Fi details settings and remove it from recent apps in the above case

Fix: 349180072
Flag: EXEMPT bugfix
Test: Manual testing
Change-Id: Ifa9718b0197ab27b77c24b706f7974a664980fba
2024-08-23 06:19:39 +08:00
Matías Hernández
f2f2da6147 Merge "Update Modes List if modes change in the background" into main 2024-08-22 18:49:18 +00:00
Matías Hernández
47db8abc89 Merge "Don't observe Modes changes if MODES_UI is disabled" into main 2024-08-22 18:13:32 +00:00
Matías Hernández
d8603124d1 Don't observe Modes changes if MODES_UI is disabled
The ZenModesLinkPreferenceController is present in the Notifications and Sound screens, and although isAvailable() is false when MODES_UI is not enabled, it was still registering the listener for Settings changes, and calling updateState().

Thus, Settings would (likely) crash if Zen settings change while the user is in one of those screens, due to not finding the manual rule.

Fixes: 360498255
Test: atest ZenSettingsObserverTest
Flag: android.app.modes_ui
Change-Id: I7741809fd0028aace6ac58992be965701e64a2e3
2024-08-22 17:48:53 +00:00
Matías Hernández
8c50cdc72a Update Modes List if modes change in the background
Fixes: 361518126
Test: manual
Flag: android.app.modes_ui
Change-Id: Ia00025adbb89ddc9163a9c50582cbcbd524231bb
2024-08-22 19:31:22 +02:00
Michal Brzezinski
38dd287e01 Launching touchpad tutorial as user 0
It's required to properly intercept touchpad gestures which is happening
in process of user 0. By default activity was launched in the current
user process.
Also targeting sysui package directly with intent.

Bug: 361518125
Test: launch touchpad tutorial with HSUM and see touchpad gestures intercepted
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Change-Id: I904df93758e49a7b10cf6d7a5398550405daafbb
2024-08-22 15:41:39 +00:00
Chaohui Wang
29f56b0b54 Clean up EuiccPreferenceController
Bug: 356684993
Flag: EXEMPT clean up
Test: manual - on mobile settings
Change-Id: I44856cf82f97c69d74dd2c8ba6e0c815498a7520
2024-08-22 12:09:32 +08:00
Treehugger Robot
06ee3f96d1 Merge "Refine Wi-Fi privacy settings" into main 2024-08-22 03:05:42 +00:00
Treehugger Robot
b0b3269725 Merge "Stops hiding a11y services with the same package+label as an activity." into main 2024-08-22 00:03:59 +00:00
Alexander Roederer
6d879999ea Add log for enable/disable zen mode
Adds logging for button on confirmation dialog after enable/disable zen
mode toggle is clicked.

Bug: 356154473
Flag: android.app.modes_ui
Test: build and flash
Change-Id: Ie1dc1c14e1519541da641a69a217cf8a5dfa54f2
2024-08-21 21:34:44 +00:00
SongFerng Wang
37e1d258f8 Catch IllegalArgumentException when getting provisioning status
getProvisioningStatusForCapability still need the IllegalArgumentException when the subId is -1.

Bug: 346600036
Test: manual test. Disable sim and the settings did not crash.
Flag: EXEMPT bugfix

Change-Id: Ib5c41ab9214cf34a17ef02864dccffb5371cfe3a
2024-08-21 10:28:20 +00:00
Jakub Rotkiewicz
9534a05eeb bluetooth: remove debug logs guard
Bug: 329809288
Flag: EXEMPT - log only
Test: mmm packages/apps/Settings
Change-Id: Ia1626aa6904c90729de518102aedbab226a25692
2024-08-21 09:35:49 +00:00
Weng Su
739fa3f4c3 Refine Wi-Fi privacy settings
- When changing two configurations, the configuration must be refreshed before modifying the second configuration to prevent the first configuration from being rolled back by the old configuration.

Fix: 360313149
Flag: EXEMPT bugfix
Test: Manual testing
atest -c WifiPrivacyPageProviderTest

Change-Id: If0e2c2b6a708fa59929b23409aff1254c6566fef
2024-08-21 15:32:14 +08:00
Haijie Hong
91536001ba Merge "Clean up legacy bluetooth setting flags" into main 2024-08-21 05:45:25 +00:00
Alexander Roederer
0a43ecdf2b Add metrics for driving and bedtime interstitials
Adds metrics categories for driving and bedtime interstitial pages,
which we want to distinguish from other types of interstitial pages.

Bug: 332937635
Flag: android.app.modes_ui
Test: Build and flash
Change-Id: I49f2fd9f86f7d2737aebd9ef9d8675787421cc09
2024-08-20 19:14:47 +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
7723d99684 Merge "Catch IllegalArgumentException when unregister callback" into main 2024-08-20 10:39:13 +00:00
Haijie Hong
fa56fb9bbf Merge "Add device details more settings page" into main 2024-08-20 09:43:30 +00:00
Haijie Hong
52b6929334 Catch IllegalArgumentException when unregister callback
BUG: 359585188
Test: local test
Flag: EXEMPT minor fix
Change-Id: Ie2e485b922b2bf1163d47c14040e6e3d48f55f86
2024-08-20 17:17:29 +08:00
Chaohui Wang
a6d45e93dc Merge "Settings search for Carrier settings version" into main 2024-08-20 07:50:16 +00:00
Haijie Hong
15a9f1437d Clean up legacy bluetooth setting flags
BUG: 359415806
Test: atest SettingsRoboTests
Flag: EXEMPT clean up
Change-Id: I7c47d80e61cfb0e3b473106e0784cc96ba639452
2024-08-20 15:38:32 +08:00
SongFerng Wang
370445b773 Fix IllegalArgumentException when getProvisioningStatusForCapability
The ProvisioningManager.getProvisioningStatusForCapability() throws UnsupportedOperationException when the capability is not supported.

Bug: 346600036
Change-Id: Ib682b336fdfc4c79a8b3e2fa5ccac8fe9c4e7ba1
Test: NA
Flag: EXEMPT bugfix
2024-08-20 05:50:11 +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
Chelsea Hao
2074ef938b Merge "[Audiosharing] Toast message when sharing on/off" into main 2024-08-20 04:27:18 +00:00
Xinyi Mao
7bb5b8dc4f Merge "Get the application context and pass into to a background executor." into main 2024-08-20 03:09:21 +00:00
Chaohui Wang
9f5c4f994d Merge "Create ImsFeatureRepository" into main 2024-08-20 02:53:38 +00:00
Treehugger Robot
a6f3c74533 Merge "Flip order of start/finish" into main 2024-08-19 22:41:59 +00:00
Julia Reynolds
a2ca48723a Flip order of start/finish
Test: long press on a not setup mode tile on a large screen device
Flag: android.app.modes_ui
Fixes: 360898235
Change-Id: I1d4128c6ee3469dceb00e8cffdd5da7f4b3732b4
2024-08-19 21:18:08 +00: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
Julia Reynolds
55a0d3b0e0 Merge "Don't show permission page in profiles" into main 2024-08-19 13:51:00 +00:00
Abdelrahman Awadalla
528abd92dd Merge "Adding methods to enable Touchpad Visualizer option" into main 2024-08-19 12:52:19 +00:00
Abdelrahman Awadalla
5ef762b2b0 Adding methods to enable Touchpad Visualizer option
Adding methods to enable the Touchpad Visualizer option based on both the feature flag and the value of the settings toggle.

Test: atest TouchpadVisualizerPreferenceControllerTest
Test: Enable the flag and enable the "Show touchpad input" in developer
      options and trace the logs in TouchpadInputMapper.
Bug: 359801523
Flag: com.android.hardware.input.touchpad_visualizer
Change-Id: I1c51bc617e907081043cea3e6bab1c719f4d2df9
2024-08-19 11:07:34 +00:00
Chaohui Wang
37693f29f1 Create ImsFeatureRepository
To be shared with video calling and VoLTE features.

Bug: 233327342
Flag: EXEMPT bug fix
Test: manual - on Mobile Settings
Test: atest ImsFeatureRepositoryTest
Change-Id: Ic7bcb532c4bd32c6f7ac4af1eebdd8a70a86ff29
2024-08-19 17:16:07 +08:00
mxyyiyi
511b67e0b8 Get the application context and pass into to a background executor.
Bug: 360260798
Test: manual
Flag: EXEMPT bug fix
Change-Id: I77bf9a7be75257be7871714afaf1fba81787f8b1
2024-08-19 17:02:32 +08:00
Chelsea Hao
6b25f15fe6 Merge "Display broadcast name on the unsupported dialog." into main 2024-08-19 07:05:12 +00:00