OSDN Git Service

Re-include stack/btm/btm_ble_bgconn
authorChris Manton <cmanton@google.com>
Tue, 1 Sep 2020 16:23:46 +0000 (09:23 -0700)
committerChris Manton <cmanton@google.com>
Tue, 1 Sep 2020 23:48:36 +0000 (23:48 +0000)
Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ibbced8fd800006b98e8266bced42b1e5e8034499

stack/btm/btm_ble_bgconn.cc

index cdb9e41..eb1d098 100644 (file)
  *
  ******************************************************************************/
 
-#include <base/logging.h>
+#include <base/bind.h>
+#include <cstdint>
 #include <unordered_map>
 
-#include "bt_types.h"
-#include "btm_int.h"
-#include "btu.h"
 #include "device/include/controller.h"
-#include "hcimsgs.h"
 #include "stack/btm/btm_dev.h"
-#include "stack/include/acl_api.h"
+#include "stack/btm/btm_int_types.h"
+#include "stack/btm/security_device_record.h"
+#include "stack/include/bt_types.h"
+#include "stack/include/hcimsgs.h"
+#include "types/raw_address.h"
+
+extern tBTM_CB btm_cb;
 
 extern void btm_send_hci_create_connection(
     uint16_t scan_int, uint16_t scan_win, uint8_t init_filter_policy,