http://b/issue?id=2094132
OpenCORE provides both track level duration("track-info/duration") and movie level duration("duration").
Use strncasecmp instead of strcasestr.
diff --git a/android/metadatadriver.cpp b/android/metadatadriver.cpp
index dd2caf1..301f2b5 100644
--- a/android/metadatadriver.cpp
+++ b/android/metadatadriver.cpp
@@ -211,7 +211,7 @@
     bool found = false;
     value[0] = '\0';
     for (uint32 i = 0, n = mMetadataValueList.size(); i < n; ++i) {
-        if (strcasestr(mMetadataValueList[i].key, key)) {
+        if (0 == strncasecmp(mMetadataValueList[i].key, key, strlen(key))) {
             found = true;
             switch(GetValTypeFromKeyString(mMetadataValueList[i].key)) {
                 case PVMI_KVPVALTYPE_CHARPTR: {