Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e2b22c1 authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi Committed by Gerrit Code Review
Browse files

Merge "floss: Re-arm LE connections on resume for HID"

parents 0c0f9058 6e111637
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -203,6 +203,11 @@ impl ISuspend for Suspend {

    fn resume(&mut self) -> bool {
        self.intf.lock().unwrap().set_default_event_mask_except(0u64, 0u64);

        // TODO(b/260922031) - This needs to be generalized and handled by LE
        //                     manager to allow other devices to reconnect.
        //                     Needs to be before `clear_event_filter`.
        self.intf.lock().unwrap().allow_wake_by_hid();
        self.intf.lock().unwrap().clear_event_filter();

        if self.is_wakeful_suspend {