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

Commit 5a23f7e0 authored by Mike J. Chen's avatar Mike J. Chen Committed by Android Git Automerger
Browse files

am a7647056: am d28d0c2a: Merge "Don\'t send a dummy 0 HID event when...

am a7647056: am d28d0c2a: Merge "Don\'t send a dummy 0 HID event when connection is closed" into klp-modular-dev

* commit 'a7647056':
  Don't send a dummy 0 HID event when connection is closed
parents 1659aec3 a7647056
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -857,12 +857,6 @@ static void btif_hh_upstreams_evt(UINT16 event, char* p_param)
            p_dev = btif_hh_find_connected_dev_by_handle(p_data->dev_status.handle);
            if (p_dev != NULL) {
                BTIF_TRACE_DEBUG2("%s: uhid fd = %d", __FUNCTION__, p_dev->fd);
                if (p_dev->fd >= 0){
                    UINT8 hidreport[9];
                    memset(hidreport,0,9);
                    hidreport[0]=1;
                    bta_hh_co_write(p_dev->fd , hidreport, sizeof(hidreport));
                }
                if(p_dev->vup_timer_active)
                {
                    btif_hh_stop_vup_timer(&(p_dev->bd_addr));