netdClient - use constant instead of hardcoding it again
Test: builds
Bug: 77870037
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I50d842ffb80ad6f0b2176269305f2fb02393b325
Merged-In: I50d842ffb80ad6f0b2176269305f2fb02393b325
diff --git a/client/NetdClient.cpp b/client/NetdClient.cpp
index 643188b..0ac1e68 100644
--- a/client/NetdClient.cpp
+++ b/client/NetdClient.cpp
@@ -89,7 +89,7 @@
}
static bool redirectSocketCallsIsTrue() {
- static bool cached_result = propertyValueIsTrue("ro.vendor.redirect_socket_calls");
+ static bool cached_result = propertyValueIsTrue(PROPERTY_REDIRECT_SOCKET_CALLS);
return cached_result;
}