[TF][CENSOR] PWN RKN without Firebase
(cherry picked from commit 48eb859019555e6df089e85ee208df84871b5ffb)
This commit is contained in:
parent
4e7cb4365f
commit
84acf56d38
@ -1241,10 +1241,6 @@ 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");
|
||||
@ -1254,18 +1250,6 @@ public class ConnectionsManager extends BaseController {
|
||||
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);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user