1<?xml version="1.0" encoding="UTF-8"?> 2<lint> 3 <!-- ExtendedSSLSession only gets instantiated in new APIs on Android. --> 4 <issue id="NewApi"> 5 <ignore path="**/org/conscrypt/Java7ExtendedSSLSession.java" /> 6 <ignore path="**/org/conscrypt/Java8ExtendedSSLSession.java" /> 7 <ignore path="**/org/conscrypt/Java8EngineWrapper.java" /> 8 <ignore path="**/org/conscrypt/Java8EngineSocket.java" /> 9 <ignore path="**/org/conscrypt/Java8FileDescriptorSocket.java" /> 10 <!-- ConscryptEngineSocket uses X509ExtendedTrustManager in an API-guarded method --> 11 <ignore path="**/org/conscrypt/ConscryptEngineSocket.java" /> 12 <!-- We don't provide the trust manager in the Android build --> 13 <ignore path="**/org/conscrypt/TrustManagerImpl.java" /> 14 </issue> 15 16 <!-- Android SparseArrays can't be used in common directory. --> 17 <issue id="UseSparseArrays"> 18 <ignore path="**/common/src/main/java/**/*.java" /> 19 </issue> 20 21 <!-- TrulyRandom flips out over KeyPairGenerator. --> 22 <issue id="TrulyRandom"> 23 <ignore path="**/common/src/main/java/org/conscrypt/OpenSSLECKeyPairGenerator.java" /> 24 <ignore path="**/common/src/main/java/org/conscrypt/AbstractConscryptEngine.java" /> 25 </issue> 26 27 <!-- Asserts don't work in Android, but this code is for OpenJDK as well. --> 28 <issue id="Assert"> 29 <ignore path="**/common/src/main/java/org/conscrypt/OpenSSLCipherChaCha20.java" /> 30 </issue> 31</lint> 32