~aleteoryx/muditaos

b99fd74628aa8d81ac22349700c397b51bda324e — Lefucjusz 3 years ago 4230da1
[MOS-529] Forgotten BT device remains on the list

Fix of the issue that forgotten BT device
reappeared on 'All devices' list after
reentering the list from home screen.
Additionally fixed pairing confirmation
popup that wouldn't hide after pressing
"Confirm".
M module-apps/apps-common/popups/BluetoothAuthenticatePopup.cpp => module-apps/apps-common/popups/BluetoothAuthenticatePopup.cpp +1 -0
@@ 173,6 173,7 @@ namespace gui
                    application->bus.sendUnicast(std::make_shared<message::bluetooth::ResponseAuthenticatePairCancel>(
                                                     true, authenticateParams->getDevice()),
                                                 service::name::bluetooth);
                    application->returnToPreviousWindow();
                    return true;
                };
            }

M module-bluetooth/Bluetooth/BluetoothStateMachine.hpp => module-bluetooth/Bluetooth/BluetoothStateMachine.hpp +1 -1
@@ 349,7 349,7 @@ namespace bluetooth
                        *state<Idle> + sml::event<bluetooth::event::StartScan> / HandleOn = state<Idle>,
                        state<Idle> + sml::event<bluetooth::event::StopScan> / HandleOff = state<Idle>,
                        state<Idle> + sml::event<bluetooth::event::Pair> / HandlePair = state<Idle>,
                        state<Idle> + sml::event<bluetooth::event::Unpair>[Connected] / (HandleDisconnect, HandleUnpair) = state<Idle>,
                        state<Idle> + sml::event<bluetooth::event::Unpair>[Connected] / (HandleDisconnect, HandleUnpair, HandleDrop) = state<Idle>,
                        state<Idle> + sml::event<bluetooth::event::Unpair>[not Connected] / (HandleUnpair, HandleDrop) = state<Idle>,

                        state<Idle> + sml::event<bluetooth::event::VisibilityOn> / HandleSetVisibility = state<Idle>,