what-the-bank/sources/o/AsyncTaskC17148uMC.java

51 lines
1.4 KiB
Java

package o;
import android.content.Context;
import android.os.AsyncTask;
import java.io.IOException;
import java.io.InputStream;
/* renamed from: o.uMC, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class AsyncTaskC17148uMC extends AsyncTask<Context, Integer, Boolean> {
public static volatile boolean a = false;
@Override // android.os.AsyncTask
protected final /* synthetic */ Boolean doInBackground(Context[] contextArr) {
return e(contextArr);
}
@Override // android.os.AsyncTask
protected final /* synthetic */ void onPostExecute(Boolean bool) {
bool.booleanValue();
}
@Override // android.os.AsyncTask
protected final void onPreExecute() {
}
@Override // android.os.AsyncTask
protected final /* bridge */ /* synthetic */ void onProgressUpdate(Integer[] numArr) {
}
private static Boolean e(Context... contextArr) {
InputStream inputStream;
try {
inputStream = C15165git.d(contextArr[0]);
} catch (Exception e) {
e.getMessage();
inputStream = null;
}
if (inputStream != null) {
if (inputStream != null) {
try {
inputStream.close();
} catch (IOException unused) {
}
}
return Boolean.TRUE;
}
return Boolean.FALSE;
}
}