Fix error introduced in Ica18fd19ecf6718c88b9f24ba99a290a7abdaf99
Before:
if (bta_dm_search_cb.uuid_to_search == 0 ||
bta_dm_search_cb.service_index != BTA_BLE_SERVICE_ID)
After:
if (bta_dm_search_cb.service_index != BTA_BLE_SERVICE_ID)
bta_dm_search_cb.uuid_to_search was always 0, so it should the old code
was effectively
if (true || ...)
so it should have not had a conditional at all
Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Iddbd0b51b26711e2bc576e3d5499932fab434363
Loading
Please register or sign in to comment