Loading system/stack/btm/btm_sco_hfp_hal_linux.cc +3 −2 Original line number Original line Diff line number Diff line Loading @@ -328,8 +328,9 @@ bool get_offload_enabled() { return offload_supported && offload_enabled; } // Set offload enable/disable // Set offload enable/disable bool enable_offload(bool enable) { bool enable_offload(bool enable) { if (!offload_supported) { if (!offload_supported && enable) { LOG_ERROR("%s: Hardware does not support SCO-offload.", __func__); LOG_ERROR("%s: Cannot enable SCO-offload since it is not supported.", __func__); return false; return false; } } offload_enabled = enable; offload_enabled = enable; Loading Loading
system/stack/btm/btm_sco_hfp_hal_linux.cc +3 −2 Original line number Original line Diff line number Diff line Loading @@ -328,8 +328,9 @@ bool get_offload_enabled() { return offload_supported && offload_enabled; } // Set offload enable/disable // Set offload enable/disable bool enable_offload(bool enable) { bool enable_offload(bool enable) { if (!offload_supported) { if (!offload_supported && enable) { LOG_ERROR("%s: Hardware does not support SCO-offload.", __func__); LOG_ERROR("%s: Cannot enable SCO-offload since it is not supported.", __func__); return false; return false; } } offload_enabled = enable; offload_enabled = enable; Loading