diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:24:09 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:24:09 +0000 |
commit | 21f120ed391081c99cc75af0f2980b9278403a46 (patch) | |
tree | fc99c8a7c748fd340dbf671219a6c71e81fd53fa | |
parent | a7191619f320c9c48c0cfc376996ca2836c7a799 (diff) | |
parent | fe15e94f9d1d0a5d3ac11e3ae71a13899d706c02 (diff) | |
download | libbt-21f120ed391081c99cc75af0f2980b9278403a46.tar.gz |
Snap for 8564071 from fe15e94f9d1d0a5d3ac11e3ae71a13899d706c02 to mainline-os-statsd-releaseaml_sta_341615000aml_sta_341511040aml_sta_341410000aml_sta_341311010aml_sta_341114000aml_sta_341111000aml_sta_341010020aml_sta_340912000aml_sta_340911000aml_sta_331910000aml_sta_331811000aml_sta_331711010aml_sta_331610000aml_sta_331511000aml_sta_331410000aml_sta_331311000aml_sta_331010010aml_sta_330910000aml_net_341111030android14-mainline-os-statsd-releaseandroid13-mainline-os-statsd-release
Change-Id: I773fd4b72d95060752675974aac003e3bbc6074a
-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; |