package com.bumptech.glide.c.b.c;

import android.os.Process;
import android.os.StrictMode;
import android.os.StrictMode.ThreadPolicy.Builder;
import com.bumptech.glide.c.b.c.a.a;
import com.tencent.matrix.trace.core.AppMethodBeat;

class a$a$1 extends Thread {
    final /* synthetic */ a aDF;

    a$a$1(a aVar, Runnable runnable, String str) {
        this.aDF = aVar;
        super(runnable, str);
    }

    public final void run() {
        AppMethodBeat.i(92002);
        Process.setThreadPriority(9);
        if (this.aDF.aDD) {
            StrictMode.setThreadPolicy(new Builder().detectNetwork().penaltyDeath().build());
        }
        try {
            super.run();
            AppMethodBeat.o(92002);
        } catch (Throwable th) {
            this.aDF.aDC.d(th);
            AppMethodBeat.o(92002);
        }
    }
}
