summaryrefslogtreecommitdiffstats
path: root/drm/common/DrmSupportInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drm/common/DrmSupportInfo.cpp')
-rw-r--r--drm/common/DrmSupportInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/common/DrmSupportInfo.cpp b/drm/common/DrmSupportInfo.cpp
index ffc8953..3e02093 100644
--- a/drm/common/DrmSupportInfo.cpp
+++ b/drm/common/DrmSupportInfo.cpp
@@ -56,7 +56,7 @@ bool DrmSupportInfo::isSupportedFileSuffix(const String8& fileType) const {
for (unsigned int i = 0; i < mFileSuffixVector.size(); i++) {
const String8 item = mFileSuffixVector.itemAt(i);
- if (String8("") != fileType && item.find(fileType) != -1) {
+ if (item.find(fileType) != -1) {
return true;
}
}