summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2021-03-15 21:39:05 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-15 21:39:05 +0000
commit316b2ef507d0b4568109054280135fdc94d81fb3 (patch)
treeb249c61abd349f7a66e30e998a5940470e22e6ed
parentf5d505f0e2f56d26d5686c529e6156fe51c57b61 (diff)
parent45a706e4fe96097a8367b9beb6016cb579a3281a (diff)
downloadplatform_hardware_broadcom_libbt-master.tar.gz
platform_hardware_broadcom_libbt-master.tar.bz2
platform_hardware_broadcom_libbt-master.zip
Merge "Use `ro.boot.qemu` to check if the device is an emulator" am: 45a706e4feHEADandroid-s-beta-4android-s-beta-3masterandroid-s-beta-4
Original change: https://android-review.googlesource.com/c/platform/hardware/broadcom/libbt/+/1627760 Change-Id: I95887ef274d7f4cc0e9b5a42fe4c3196d42ccac6
-rw-r--r--src/upio.c2
1 files changed, 1 insertions, 1 deletions
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;