summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:24:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-10 07:24:09 +0000
commit21f120ed391081c99cc75af0f2980b9278403a46 (patch)
treefc99c8a7c748fd340dbf671219a6c71e81fd53fa
parenta7191619f320c9c48c0cfc376996ca2836c7a799 (diff)
parentfe15e94f9d1d0a5d3ac11e3ae71a13899d706c02 (diff)
downloadlibbt-21f120ed391081c99cc75af0f2980b9278403a46.tar.gz
Change-Id: I773fd4b72d95060752675974aac003e3bbc6074a
-rw-r--r--Android.mk4
-rw-r--r--METADATA3
-rw-r--r--src/hardware.c2
-rw-r--r--src/upio.c2
4 files changed, 9 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index 050eaa9..3247a42 100644
--- a/Android.mk
+++ b/Android.mk
@@ -12,7 +12,7 @@ else
bdroid_CFLAGS += -DHAS_NO_BDROID_BUILDCFG
endif
-BDROID_DIR := $(TOP_DIR)system/bt
+BDROID_DIR := $(TOP_DIR)packages/modules/Bluetooth/system
ifeq ($(strip $(USE_BLUETOOTH_BCM4343)),true)
LOCAL_CFLAGS += -DUSE_BLUETOOTH_BCM4343
@@ -54,6 +54,8 @@ LOCAL_SHARED_LIBRARIES := \
liblog
LOCAL_MODULE := libbt-vendor
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
+LOCAL_LICENSE_CONDITIONS := notice
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_OWNER := broadcom
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..d97975c
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,3 @@
+third_party {
+ license_type: NOTICE
+}
diff --git a/src/hardware.c b/src/hardware.c
index 701cb86..8f96d60 100644
--- a/src/hardware.c
+++ b/src/hardware.c
@@ -1238,6 +1238,8 @@ uint32_t hw_lpm_get_idle_timeout(void)
timeout_ms *= 25; // 12.5 or 25 ?
else if (strstr(hw_cfg_cb.local_chip_name, "BCM4358") != NULL)
timeout_ms *= 50;
+ else if (strstr(hw_cfg_cb.local_chip_name, "BCM43013") != NULL)
+ timeout_ms *= 1;
else
timeout_ms *= 300;
diff --git a/src/upio.c b/src/upio.c
index 1a88e28..5050393 100644
--- a/src/upio.c
+++ b/src/upio.c
@@ -124,7 +124,7 @@ static int is_emulator_context(void)
{
char value[PROPERTY_VALUE_MAX];
- property_get("ro.kernel.qemu", value, "0");
+ property_get("ro.boot.qemu", value, "0");
UPIODBG("is_emulator_context : %s", value);
if (strcmp(value, "1") == 0) {
return 1;