Fix wrong condition
am: 492ed58
* commit '492ed589df3609a15dd6a33709fc8d855ec1072d':
Fix wrong condition
Change-Id: I23f23c4b77d19286915e501bea482e4d1fe7e714
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user