[TF][CENSOR] PWN RKN without Firebase

(cherry picked from commit 48eb859019555e6df089e85ee208df84871b5ffb)
This commit is contained in:
thermatk 2019-01-25 21:41:00 +00:00 committed by 世界
parent 4e7cb4365f
commit 84acf56d38
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -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;
}