summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@android.com>2014-09-26 17:06:39 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-09-26 17:06:39 +0000
commitfc36efee6f6aefb561f92ef88c8eb40ac0aefa94 (patch)
treea88ee8d8225c36bfa2e787e6f07b6e4720647191
parent8f230382b86e7b431211ceb0263d06c4bba1bf6b (diff)
parentf129e84addb1b0ba1240f39430404dad717c21c2 (diff)
downloadframeworks_av-fc36efee6f6aefb561f92ef88c8eb40ac0aefa94.zip
frameworks_av-fc36efee6f6aefb561f92ef88c8eb40ac0aefa94.tar.gz
frameworks_av-fc36efee6f6aefb561f92ef88c8eb40ac0aefa94.tar.bz2
Merge "Fix comparison of String8 to char* literal"
-rw-r--r--drm/libdrmframework/include/PlugInManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/libdrmframework/include/PlugInManager.h b/drm/libdrmframework/include/PlugInManager.h
index c1d019a..a4c2bb9 100644
--- a/drm/libdrmframework/include/PlugInManager.h
+++ b/drm/libdrmframework/include/PlugInManager.h
@@ -238,7 +238,7 @@ private:
*/
bool isDotOrDDot(const struct dirent* pEntry) const {
String8 sName(pEntry->d_name);
- return "." == sName || ".." == sName;
+ return sName == "." || sName == "..";
}
/**