mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-05-02 02:50:35 +00:00
android: disable DI hook
for CI
This commit is contained in:
@@ -265,9 +265,9 @@ static bool hookLibrary(const char* libname) {
|
|||||||
findSymbolOffset(decompressed,
|
findSymbolOffset(decompressed,
|
||||||
"l2c_fcr_chk_chan_modes");
|
"l2c_fcr_chk_chan_modes");
|
||||||
|
|
||||||
uint64_t sdp_offset =
|
/* uint64_t sdp_offset =
|
||||||
findSymbolOffset(decompressed,
|
findSymbolOffset(decompressed,
|
||||||
"BTA_DmSetLocalDiRecord");
|
"BTA_DmSetLocalDiRecord"); */
|
||||||
|
|
||||||
if (chk_offset) {
|
if (chk_offset) {
|
||||||
void* target =
|
void* target =
|
||||||
@@ -280,7 +280,7 @@ static bool hookLibrary(const char* libname) {
|
|||||||
LOGI("Hooked l2c_fcr_chk_chan_modes");
|
LOGI("Hooked l2c_fcr_chk_chan_modes");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sdp_offset) {
|
/*if (sdp_offset) {
|
||||||
void* target =
|
void* target =
|
||||||
reinterpret_cast<void*>(base + sdp_offset);
|
reinterpret_cast<void*>(base + sdp_offset);
|
||||||
|
|
||||||
@@ -289,7 +289,7 @@ static bool hookLibrary(const char* libname) {
|
|||||||
(void**)&original_BTA_DmSetLocalDiRecord);
|
(void**)&original_BTA_DmSetLocalDiRecord);
|
||||||
|
|
||||||
LOGI("Hooked BTA_DmSetLocalDiRecord");
|
LOGI("Hooked BTA_DmSetLocalDiRecord");
|
||||||
}
|
}*/
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user