[Connected devices page] Reorder devices by most recently used.

Order the saved bluetooth devices by most recently connected in connected devices settings page.

Test: atest: com.android.settings.connecteddevice.SavedDeviceGroupControllerTest, com.android.settings.connecteddevice.PreviouslyConnectedDevicePreferenceControllerTest
Bug: 306160434
Change-Id: Id5ad8555a026d775d96ada37f989b4346336af93
This commit is contained in:
Ze Li
2024-01-11 18:29:28 +08:00
parent 59d67c3dc2
commit 41b12fe8eb
5 changed files with 402 additions and 28 deletions

View File

@@ -27,3 +27,10 @@ flag {
description: "Gates whether to require an auth challenge for changing USB preferences"
bug: "317367746"
}
flag {
name: "enable_saved_devices_order_by_recency"
namespace: "pixel_cross_device_control"
description: "Order the saved bluetooth devices by most recently connected."
bug: "306160434"
}