mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Call quality survey integration.
This commit is contained in:
committed by
jeffrey-signal
parent
804f479cb0
commit
54fb7ff23f
@@ -126,6 +126,13 @@ public class SubmitDebugLogRepository {
|
||||
});
|
||||
}
|
||||
|
||||
@WorkerThread
|
||||
public Optional<String> buildAndSubmitLogSync(long untilTime) {
|
||||
Log.blockUntilAllWritesFinished();
|
||||
LogDatabase.getInstance(context).logs().trimToSize();
|
||||
return submitLogInternal(untilTime, getPrefixLogLinesInternal(), Tracer.getInstance().serialize());
|
||||
}
|
||||
|
||||
public void submitLogFromReader(DebugLogsViewer.LogReader logReader, @Nullable byte[] trace, Callback<Optional<String>> callback) {
|
||||
SignalExecutors.UNBOUNDED.execute(() -> callback.onResult(submitLogFromReaderInternal(logReader, trace)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user