[TF][CENSOR] PWN RKN without Firebase
(cherry picked from commit 48eb859019555e6df089e85ee208df84871b5ffb)
This commit is contained in:
parent
4e7cb4365f
commit
84acf56d38
@ -1241,31 +1241,15 @@ public class ConnectionsManager extends BaseController {
|
||||
}
|
||||
|
||||
protected NativeByteBuffer doInBackground(Void... voids) {
|
||||
try {
|
||||
if (native_isTestBackend(currentAccount) != 0) {
|
||||
throw new Exception("test backend");
|
||||
Utilities.stageQueue.postRunnable(() -> {
|
||||
if (BuildVars.LOGS_ENABLED) {
|
||||
FileLog.d("failed to get firebase result");
|
||||
FileLog.d("start dns txt task");
|
||||
}
|
||||
Utilities.stageQueue.postRunnable(() -> {
|
||||
if (BuildVars.LOGS_ENABLED) {
|
||||
FileLog.d("failed to get firebase result");
|
||||
FileLog.d("start dns txt task");
|
||||
}
|
||||
DnsTxtLoadTask task = new DnsTxtLoadTask(currentAccount);
|
||||
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, null, null, null);
|
||||
currentTask = task;
|
||||
});
|
||||
} catch (Throwable e) {
|
||||
Utilities.stageQueue.postRunnable(() -> {
|
||||
if (BuildVars.LOGS_ENABLED) {
|
||||
FileLog.d("failed to get firebase result");
|
||||
FileLog.d("start dns txt task");
|
||||
}
|
||||
DnsTxtLoadTask task = new DnsTxtLoadTask(currentAccount);
|
||||
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, null, null, null);
|
||||
currentTask = task;
|
||||
});
|
||||
FileLog.e(e);
|
||||
}
|
||||
DnsTxtLoadTask task = new DnsTxtLoadTask(currentAccount);
|
||||
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, null, null, null);
|
||||
currentTask = task;
|
||||
});
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user