Correctly handle GATT as only profile supported.
If GATT is the only profile enabled in config.xml, then AdapterService will hang indefinitely since setProfileServiceState ignores GATT. This is okay generally since GATT comes up with BLE, not with BREDR. But since GATT is already running at this point, AdapterService will never know that we can consider BREDR started. Fix this by shortcutting to BREDR_STARTED in the case that we're trying to start core services and GATT is the only supported profile. Bug: 62415118 69965109 Test: Build ok Change-Id: I47f7d0c21bb21773d5317fb264aa9adce8f5823e
Loading
Please register or sign in to comment