Skip to content

Commit 5fbfda6

Browse files
committed
add back DI hook
1 parent a6a284c commit 5fbfda6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

android/app/src/main/cpp/l2c_fcr_hook.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static bool hookLibrary(const char* libname) {
280280
LOGI("Hooked l2c_fcr_chk_chan_modes");
281281
}
282282

283-
/*if (sdp_offset) {
283+
if (sdp_offset) {
284284
void* target =
285285
reinterpret_cast<void*>(base + sdp_offset);
286286

@@ -289,7 +289,7 @@ static bool hookLibrary(const char* libname) {
289289
(void**)&original_BTA_DmSetLocalDiRecord);
290290

291291
LOGI("Hooked BTA_DmSetLocalDiRecord");
292-
}*/
292+
}
293293

294294
return true;
295295
}

0 commit comments

Comments
 (0)