Chromium Code Reviews
Descriptionash::internal::TrayBluetooth: Hide spinner if discovery session stops.
Changed TrayBluetooth to update the spinner not based on whether or not it
requested discovery but whether or not system tray delegate has an active
discovery session. The code will now automatically try to restart discovery
if discovery stops unexpectedly and start or stop the throbber based on that.
Also renamed UpdateBlueToothDeviceList to UpdateBluetoothDeviceList and
UpdateBluetoothDeviceList to UpdateBluetoothDeviceListHelper.
BUG=345494
TEST=1. Hack bluetoothd to allow stopping discovery via command-line regardless
of the client who intiated it. Use bluetoothctl and run 'scan off' after running
discovery via TrayBluetooth. The spinner should visibly update and discovery
should restart (upon which the spinner should re-update).
2. Start discovery outside of TrayBluetooth (e.g chrome://settings). Opening the
tray discovery dialog should work as expected (i.e. the spinner should animate
and found devices list should be populated.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260718
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||