summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2021-04-14 22:34:08 -0700
committerRoman Kiryanov <rkir@google.com>2021-04-14 22:34:08 -0700
commitb4fc770e635070e068724e8ad63ebec5d4b5da0f (patch)
tree25f25301814b070a5f5fcb01e96e43fd5d5f4a05
parent33dda50e8a57dfd6aadfd21cfbe415c3caff19b1 (diff)
downloadril-b4fc770e635070e068724e8ad63ebec5d4b5da0f.tar.gz
Replace `ro.kernel.` with `ro.boot.`
`ro.kernel` is deprecated. Bug: 182291166 Test: presubmit Signed-off-by: Roman Kiryanov <rkir@google.com> Change-Id: If1994ea46f59f608450591f0cd417e7bb8b43fdc
-rw-r--r--reference-ril/reference-ril.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reference-ril/reference-ril.c b/reference-ril/reference-ril.c
index 7005694..689e01d 100644
--- a/reference-ril/reference-ril.c
+++ b/reference-ril/reference-ril.c
@@ -566,7 +566,7 @@ static void requestCallSelection(
static bool hasWifiCapability()
{
char propValue[PROP_VALUE_MAX];
- return property_get("ro.kernel.qemu.wifi", propValue, "") > 0 &&
+ return property_get("ro.boot.qemu.wifi", propValue, "") > 0 &&
strcmp("1", propValue) == 0;
}