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

Skip to content
Commit 681350a3 authored by Zhou Song's avatar Zhou Song
Browse files

hal: check device type before handling connection/disconnection

Device is assumed to be an output device when handling connection
or disconnection. Besides the BIT_IN, as the input device could
share same bit definition with the output device, thus disconnecting
input device may cause output device disconnected unexpectly.

Check for device type to avoid mishandling.

Change-Id: Iab637220bd43d16bc2cabb53f610ed978e1e5fea
parent fc9149ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment