Update property retrival method

[ Merge of http://go/wvgerrit/70203 ]

The earlier property_get() method had a limitation on property length.
Properties of some new devices exceed that length. An error message
is returned rather than a truncated string. Replace its use with
android::base::GetProperty() which does not have a length limitation.

Bug: 115358798
Test: WV unit/integration tests
Change-Id: I46ce9a7e77bcd031225d0082f83c57d484fe5405
This commit is contained in:
Rahul Frias
2019-01-11 00:57:32 -08:00
parent a4e66ac673
commit ef00d6ffa5
20 changed files with 49 additions and 38 deletions

View File

@@ -32,7 +32,7 @@ LOCAL_STATIC_LIBRARIES := \
libwvdrmdrmplugin \
LOCAL_SHARED_LIBRARIES := \
libcutils \
libbase \
libdl \
liblog \
libprotobuf-cpp-lite \
@@ -96,7 +96,7 @@ LOCAL_SHARED_LIBRARIES := \
android.hardware.drm@1.2 \
android.hidl.memory@1.0 \
libbinder \
libcutils \
libbase \
libdl \
libhidlbase \
libhidlmemory \