Correcting sniff behaviour in multi-connection scenario
Use case: When multiple profiles are connected on same link and if any one of the profiles deregisters with powermanager, powermanager will initiate a sniff when it removes the timer for one profile, even if a timeout did not trigger for other profiles. Steps: 1. Turn on BT 2. Pair with Mi band (Wearable device) 3. Pair with carkit 4. Turn off BT 5. Turn on BT HF and A2DP connection should successful after BT on to carkit. Failure: HF connection fails. Root Cause: powermanager initiates a sniff when it removes the timer for one profile Even if a timeout did not trigger for other profiles. Fix: When multiple profiles connect on the same link and if any one profile deregisters with powermanager, pm should stop the timer for that profile and restart the other profiles timers. Change-Id: I8e215a9d868291976c70ff32b61145b4360a7f8f
Loading
Please register or sign in to comment