package g.i0;

import java.util.concurrent.ThreadFactory;

/* JADX INFO: loaded from: classes.dex */
public class d implements ThreadFactory {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ String f6150b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ boolean f6151c;

    public d(String str, boolean z) {
        this.f6150b = str;
        this.f6151c = z;
    }

    @Override // java.util.concurrent.ThreadFactory
    public Thread newThread(Runnable runnable) {
        Thread thread = new Thread(runnable, this.f6150b);
        thread.setDaemon(this.f6151c);
        return thread;
    }
}
