_bt_dpm_get_bluetooth_limited_discoverable_state(&discoverable_state);
if (discoverable_mode != BLUETOOTH_DISCOVERABLE_MODE_CONNECTABLE &&
discoverable_state == DPM_RESTRICTED) {
- if (headed_plugin_info->plugin_headed_enabled) // TODO: There is no definition headed_plugin_info
+ if (headed_plugin_info->plugin_headed_enabled)
headed_plugin_info->headed_plugin->bt_launch_dpmpopup("DPM_POLICY_DISABLE_BT_HANDSFREE");
return BLUETOOTH_ERROR_ACCESS_DENIED;
}