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

Skip to content
Commit 7c436bc0 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Disable HOGP only if it was previously enabled

bta_hh_cleanup_disable() is called to cleanup after the HID host and
HOGP host has been disabled. HOGP host must be disabled only if it was
enabled in first place. This change also allows us to remove
bta_hh_cleanup_disable callback from core interfaces. This interface
was used by GATT client because the HOGP host would unregister from
GATT even when it was not registered with GATT beforehand.


Bug: 272153768
Test: Test regression
Change-Id: Iaff8495bbfcc1288b7011380474fa6a0eac302cc
parent d3e9b02b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment