[Android] Remove unnecessary equals comparison in VideoSettingsFragment.java in function SupportsGLES3(). contains() can handle this situation.

This commit is contained in:
Lioncash 2013-10-07 19:50:50 -04:00
parent 9920362581
commit fb4cc76b11
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public final class VideoSettingsFragment extends PreferenceFragment
boolean mSupportsGLES3 = false;
// Check for OpenGL ES 3 support (General case).
if (m_GLVersion != null && (m_GLVersion.contains("OpenGL ES 3.0") || m_GLVersion.equals("OpenGL ES 3.0")))
if (m_GLVersion != null && m_GLVersion.contains("OpenGL ES 3.0"))
mSupportsGLES3 = true;
// Checking for OpenGL ES 3 support for certain Qualcomm devices.