Matthew DeVore a6925f2936 Displays updater: force refresh on listener add
Refresh the preference every time the listener is added, not only for
the first callback registration. This is needed because when switching
fragments, the callback is unregistered by
ConnectedDeviceGroupController, so no updates are received in the child
fragments. This is handled differently by other device updaters.

UsbConnectionBroadcastReceiver invokes onReceive() in register() to
force a refresh. BluetoothDeviceUpdater requires the caller
to do a force refresh explicitly. This CL goes with the latter pattern.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: open CD settings fragment, remove all displays, then go back to CD entry fragment
Bug: b/398042811
Change-Id: Id139f227b1d59bde0174538b29b46fdd21ec0d24
2025-02-21 18:07:45 +00:00
2022-04-14 09:55:36 +00:00
2024-07-30 11:34:24 +08:00
2023-09-28 10:40:22 -07:00
2024-11-28 09:15:16 +00:00
2024-11-22 12:59:43 +00:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%