diff options
author | Roman Kiryanov <rkir@google.com> | 2021-03-15 20:59:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-03-15 20:59:53 +0000 |
commit | 45a706e4fe96097a8367b9beb6016cb579a3281a (patch) | |
tree | b249c61abd349f7a66e30e998a5940470e22e6ed | |
parent | f5d505f0e2f56d26d5686c529e6156fe51c57b61 (diff) | |
parent | 96f96daf990ebb337818dba709c2a6cd7be8028d (diff) | |
download | libbt-45a706e4fe96097a8367b9beb6016cb579a3281a.tar.gz |
Merge "Use `ro.boot.qemu` to check if the device is an emulator"android-s-beta-2android-s-beta-1
-rw-r--r-- | src/upio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |