diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:12:08 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:12:08 +0000 |
commit | 8a2e0b5aebbab30ec88fb53b15343a51f05c84b0 (patch) | |
tree | fc99c8a7c748fd340dbf671219a6c71e81fd53fa | |
parent | a7191619f320c9c48c0cfc376996ca2836c7a799 (diff) | |
parent | fe15e94f9d1d0a5d3ac11e3ae71a13899d706c02 (diff) | |
download | libbt-8a2e0b5aebbab30ec88fb53b15343a51f05c84b0.tar.gz |
Snap for 8564071 from fe15e94f9d1d0a5d3ac11e3ae71a13899d706c02 to mainline-tethering-releaseaml_tet_341712060aml_tet_341610020aml_tet_341511010aml_tet_341411060aml_tet_341310230aml_tet_341112070aml_tet_341010040aml_tet_340913030aml_tet_331910040aml_tet_331820050aml_tet_331711040aml_tet_331511160aml_tet_331511000aml_tet_331412030aml_tet_331312080aml_tet_331117000aml_tet_331012080aml_tet_330911010aml_tet_330812150android14-mainline-tethering-releaseandroid13-mainline-tethering-release
Change-Id: I28a029b6eb216480aadfea31ea0d539d49a72ece
-rw-r--r-- | Android.mk | 4 | ||||
-rw-r--r-- | METADATA | 3 | ||||
-rw-r--r-- | src/hardware.c | 2 | ||||
-rw-r--r-- | src/upio.c | 2 |
4 files changed, 9 insertions, 2 deletions
@@ -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; @@ -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; |