From 5fbfda611518dcbe726c19bdf419cd40433162e0 Mon Sep 17 00:00:00 2001 From: Kavish Devar Date: Sun, 29 Mar 2026 16:04:50 +0530 Subject: [PATCH] add back DI hook --- android/app/src/main/cpp/l2c_fcr_hook.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/cpp/l2c_fcr_hook.cpp b/android/app/src/main/cpp/l2c_fcr_hook.cpp index ad76a8f..264512f 100644 --- a/android/app/src/main/cpp/l2c_fcr_hook.cpp +++ b/android/app/src/main/cpp/l2c_fcr_hook.cpp @@ -280,7 +280,7 @@ static bool hookLibrary(const char* libname) { LOGI("Hooked l2c_fcr_chk_chan_modes"); } - /*if (sdp_offset) { + if (sdp_offset) { void* target = reinterpret_cast(base + sdp_offset); @@ -289,7 +289,7 @@ static bool hookLibrary(const char* libname) { (void**)&original_BTA_DmSetLocalDiRecord); LOGI("Hooked BTA_DmSetLocalDiRecord"); - }*/ + } return true; }