Commit 9761c98d authored by Bartek Fabiszewski's avatar Bartek Fabiszewski
Browse files

Revert compiler deprecation warning suppression

parent ab810b0f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ class TlsSocketFactory extends SSLSocketFactory {
    private static SSLSocketFactory factory;
    private static String[] cipherSuites;

    @SuppressWarnings({"deprecation", "RedundantSuppression"})
    TlsSocketFactory(Context context) {
        SSLSessionCache cache = new SSLSessionCache(context);
        factory = SSLCertificateSocketFactory.getDefault(WebHelper.SOCKET_TIMEOUT, cache);