diff options
author | Andre Eisenbach <eisenbach@google.com> | 2016-01-14 02:00:24 -0800 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2016-02-24 13:21:23 -0800 |
commit | a3478935fe3fe3a1958813e531249f93628b9aa1 (patch) | |
tree | 289386f52dd6860cfdc0c8575fe16eb8dcd06125 /main | |
parent | ed1563bbd6c634841aa1e27d13aaf0e0f3580ec9 (diff) | |
download | android_system_bt-a3478935fe3fe3a1958813e531249f93628b9aa1.tar.gz android_system_bt-a3478935fe3fe3a1958813e531249f93628b9aa1.tar.bz2 android_system_bt-a3478935fe3fe3a1958813e531249f93628b9aa1.zip |
DO NOT MERGE Add ability to add interop entries dynamically (2/2)
Add ability and interface for adding dynamic entries to the interop
workaround database.
Bug: 26548845
Change-Id: Id886e4233fc1548727e79f1581cdc0c6f0738d59
Diffstat (limited to 'main')
-rw-r--r-- | main/bte_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/bte_main.c b/main/bte_main.c index d08d6f615..a88839162 100644 --- a/main/bte_main.c +++ b/main/bte_main.c @@ -45,6 +45,9 @@ #include "bt_utils.h" #include "btcore/include/counter.h" #include "btcore/include/module.h" +#include "device/include/interop.h" +#include "hci_layer.h" +#include "osi/include/alarm.h" #include "osi/include/fixed_queue.h" #include "osi/include/future.h" #include "gki.h" @@ -97,6 +100,7 @@ void bte_main_boot_entry(void) { module_init(get_module(GKI_MODULE)); module_init(get_module(COUNTER_MODULE)); + module_init(get_module(INTEROP_MODULE)); hci = hci_layer_get_interface(); if (!hci) @@ -136,6 +140,7 @@ void bte_main_shutdown() module_clean_up(get_module(STACK_CONFIG_MODULE)); + module_clean_up(get_module(INTEROP_MODULE)); module_clean_up(get_module(COUNTER_MODULE)); module_clean_up(get_module(GKI_MODULE)); } |