diff options
author | Glenn Kasten <gkasten@android.com> | 2014-09-26 17:06:39 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-09-26 17:06:39 +0000 |
commit | fc36efee6f6aefb561f92ef88c8eb40ac0aefa94 (patch) | |
tree | a88ee8d8225c36bfa2e787e6f07b6e4720647191 /drm | |
parent | 8f230382b86e7b431211ceb0263d06c4bba1bf6b (diff) | |
parent | f129e84addb1b0ba1240f39430404dad717c21c2 (diff) | |
download | frameworks_av-fc36efee6f6aefb561f92ef88c8eb40ac0aefa94.zip frameworks_av-fc36efee6f6aefb561f92ef88c8eb40ac0aefa94.tar.gz frameworks_av-fc36efee6f6aefb561f92ef88c8eb40ac0aefa94.tar.bz2 |
Merge "Fix comparison of String8 to char* literal"
Diffstat (limited to 'drm')
-rw-r--r-- | drm/libdrmframework/include/PlugInManager.h | 2 |
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 == ".."; } /** |