Fix wrong condition am: 492ed58

am: f5c0a55

* commit 'f5c0a55d1eca29be3f63fbf07f7bd35ff5a68a62':
  Fix wrong condition

Change-Id: I677d5bed9d21dfc502897f580268f718505d1931
This commit is contained in:
Rubin Xu
2016-04-07 15:04:07 +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;