Fix wrong condition
Bug: 28050399 Change-Id: If729ee2bcc5496b5ee381e490f72c751da04dc09
This commit is contained in:
@@ -750,7 +750,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;
|
||||
|
||||
Reference in New Issue
Block a user