summaryrefslogtreecommitdiffstats
path: root/drm
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@android.com>2014-09-26 19:53:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-26 19:53:07 +0000
commitd0eda851b7cb5566ac7078c73c3d3bde4d68d1b1 (patch)
tree3781940ff3de1b33396913a01c60fe8e256c06b7 /drm
parentbedf4b8b4b971e480e671e0762da467cdcad7867 (diff)
parent3a94ca562e6a57cf324a8b8165b596ad61f7a20d (diff)
downloadframeworks_av-d0eda851b7cb5566ac7078c73c3d3bde4d68d1b1.zip
frameworks_av-d0eda851b7cb5566ac7078c73c3d3bde4d68d1b1.tar.gz
frameworks_av-d0eda851b7cb5566ac7078c73c3d3bde4d68d1b1.tar.bz2
am 3a94ca56: am fc36efee: Merge "Fix comparison of String8 to char* literal"
* commit '3a94ca562e6a57cf324a8b8165b596ad61f7a20d': Fix comparison of String8 to char* literal
Diffstat (limited to 'drm')
-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 == "..";
}
/**