OSDN Git Service

Re-include bta/include/bta_sdp_api
authorChris Manton <cmanton@google.com>
Sat, 23 Jan 2021 00:52:36 +0000 (16:52 -0800)
committerChris Manton <cmanton@google.com>
Mon, 1 Feb 2021 02:08:45 +0000 (18:08 -0800)
Include what you use

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: Ibc7f3227a86bb36677010216b534d23a921893e4

bta/include/bta_sdp_api.h

index 078167a..ea4737f 100644 (file)
 #ifndef BTA_SDP_API_H
 #define BTA_SDP_API_H
 
-#include <hardware/bt_sdp.h>
+#include <cstdint>
 
-#include "bt_target.h"
-#include "bt_types.h"
-#include "bta_api.h"
-#include "btm_api.h"
+#include "bt_target.h"  // Must be first to define build configuration
+
+#include "bta/include/bta_api.h"
+#include "bta/include/bta_sdp_api.h"
+#include "include/hardware/bt_sdp.h"  // bluetooth_sdp_record
+#include "types/bluetooth/uuid.h"
+#include "types/raw_address.h"
 
 using bluetooth::Uuid;