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
Loading
Please register or sign in to comment