Fix wrong condition

am: 492ed58

* commit '492ed589df3609a15dd6a33709fc8d855ec1072d':
  Fix wrong condition

Change-Id: I23f23c4b77d19286915e501bea482e4d1fe7e714
This commit is contained in:
Rubin Xu
2016-04-07 15:00:59 +00:00
committed by android-build-merger

View File

@@ -719,7 +719,7 @@ public class WifiEnterpriseConfig implements Parcelable {
* Get CA certificates.
*/
@Nullable public X509Certificate[] getCaCertificates() {
if (mCaCerts != null || mCaCerts.length > 0) {
if (mCaCerts != null && mCaCerts.length > 0) {
return mCaCerts;
} else {
return null;