Weather Tracker v1.0.0版本的 MD5 值为:3edef27647e42a8ea0e7c0d2dbf56f97

以下内容为反编译后的 t.java 源代码,内容仅作参考


package com.applovin.exoplayer2.k;

import android.text.TextUtils;
import androidx.annotation.Nullable;
import com.applovin.exoplayer2.common.base.Ascii;
import com.applovin.exoplayer2.common.base.Predicate;
import com.applovin.exoplayer2.k.i;
import com.google.android.exoplayer2.PlaybackException;
import com.tradplus.ads.common.AdType;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.SocketTimeoutException;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public interface t extends i {
    public static final Predicate<String> a = new Predicate() {
        @Override
        public final boolean apply(Object obj) {
            boolean a2;
            a2 = t.a((String) obj);
            return a2;
        }
    };

    public static final class a extends c {
        public a(IOException iOException, l lVar) {
            super("Cleartext HTTP traffic not permitted. See https://exoplayer.dev/issues/cleartext-not-permitted", iOException, lVar, PlaybackException.ERROR_CODE_IO_CLEARTEXT_NOT_PERMITTED, 1);
        }
    }

    public interface b extends i.a {
        @Override
        t a();
    }

    public static final class d extends c {
        public final String d;

        public d(String str, l lVar) {
            super("Invalid content type: " + str, lVar, 2003, 1);
            this.d = str;
        }
    }

    public static final class e extends c {
        public final int d;
        @Nullable
        public final String e;
        public final Map<String, List<String>> f;
        public final byte[] g;

        public e(int i, @Nullable String str, @Nullable IOException iOException, Map<String, List<String>> map, l lVar, byte[] bArr) {
            super("Response code: " + i, iOException, lVar, 2004, 1);
            this.d = i;
            this.e = str;
            this.f = map;
            this.g = bArr;
        }
    }

    public static final class f {
        private final Map<String, String> a = new HashMap();
        @Nullable
        private Map<String, String> f786b;

        public synchronized Map<String, String> a() {
            if (this.f786b == null) {
                this.f786b = Collections.unmodifiableMap(new HashMap(this.a));
            }
            return this.f786b;
        }
    }

    static boolean a(String str) {
        if (str == null) {
            return false;
        }
        String lowerCase = Ascii.toLowerCase(str);
        if (TextUtils.isEmpty(lowerCase)) {
            return false;
        }
        return ((lowerCase.contains("text") && !lowerCase.contains("text/vtt")) || lowerCase.contains(AdType.HTML) || lowerCase.contains("xml")) ? false : true;
    }

    public static class c extends j {
        public final l f785b;
        public final int c;

        public c(l lVar, int i, int i2) {
            super(a(i, i2));
            this.f785b = lVar;
            this.c = i2;
        }

        private static int a(int i, int i2) {
            if (i == 2000 && i2 == 1) {
                return 2001;
            }
            return i;
        }

        public static c a(IOException iOException, l lVar, int i) {
            int i2;
            String message = iOException.getMessage();
            if (iOException instanceof SocketTimeoutException) {
                i2 = 2002;
            } else if (iOException instanceof InterruptedIOException) {
                i2 = 1004;
            } else {
                i2 = (message == null || !Ascii.toLowerCase(message).matches("cleartext.*not permitted.*")) ? 2001 : 2007;
            }
            if (i2 == 2007) {
                return new a(iOException, lVar);
            }
            return new c(iOException, lVar, i2, i);
        }

        public c(String str, l lVar, int i, int i2) {
            super(str, a(i, i2));
            this.f785b = lVar;
            this.c = i2;
        }

        public c(IOException iOException, l lVar, int i, int i2) {
            super(iOException, a(i, i2));
            this.f785b = lVar;
            this.c = i2;
        }

        public c(String str, @Nullable IOException iOException, l lVar, int i, int i2) {
            super(str, iOException, a(i, i2));
            this.f785b = lVar;
            this.c = i2;
        }
    }
}