Commit ff7e8b7
committed
fix: clear bluetooth device list when adapter is powered off
When airplane mode is enabled, bluetooth is automatically turned off.
However, the device list was not being cleared, causing residual device
information to be displayed in the bluetooth plugin panel.
This fix ensures that when the bluetooth adapter is powered off, all
device items and models are properly cleared to prevent display issues.
Log: clear bluetooth device list when adapter is powered off1 parent b92f43d commit ff7e8b7
1 file changed
Lines changed: 10 additions & 1 deletion
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
431 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
432 | 441 | | |
433 | 442 | | |
434 | 443 | | |
| |||
0 commit comments