OSDN Git Service

Re-include bta/include/bta_gatt_queue
authorChris Manton <cmanton@google.com>
Thu, 28 Jan 2021 18:57:21 +0000 (10:57 -0800)
committerChris Manton <cmanton@google.com>
Mon, 1 Feb 2021 02:08:44 +0000 (18:08 -0800)
Include what you use

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working

Change-Id: I4c4b9fc5e923b077cf13401b394e83983f260b91

bta/include/bta_gatt_queue.h

index a87a053..5e2a3a9 100644 (file)
  * limitations under the License.
  */
 
-#include <vector>
-
+#include <cstdint>
 #include <list>
 #include <unordered_map>
 #include <unordered_set>
-#include "bta_gatt_api.h"
+#include <vector>
+
+#include "bta/include/bta_gatt_api.h"
 
 /* BTA GATTC implementation does not allow for multiple commands queuing. So one
  * client making calls to BTA_GATTC_ReadCharacteristic, BTA_GATTC_ReadCharDescr,
@@ -80,4 +81,4 @@ class BtaGattQueue {
   static std::unordered_map<uint16_t, std::list<gatt_operation>> gatt_op_queue;
   // contain connection ids that currently execute operations
   static std::unordered_set<uint16_t> gatt_op_queue_executing;
-};
\ No newline at end of file
+};