mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Trace database methods.
This commit is contained in:
@@ -62,9 +62,7 @@ public class SubmitDebugLogRepository {
|
||||
add(new LogSectionCapabilities());
|
||||
add(new LogSectionFeatureFlags());
|
||||
add(new LogSectionPermissions());
|
||||
if (Tracer.getInstance().isEnabled()) {
|
||||
add(new LogSectionTrace());
|
||||
}
|
||||
add(new LogSectionTrace());
|
||||
add(new LogSectionThreads());
|
||||
add(new LogSectionLogcat());
|
||||
add(new LogSectionLogger());
|
||||
|
||||
@@ -30,10 +30,7 @@ public class SubmitDebugLogViewModel extends ViewModel {
|
||||
this.repo = new SubmitDebugLogRepository();
|
||||
this.lines = new DefaultValueLiveData<>(Collections.emptyList());
|
||||
this.mode = new MutableLiveData<>();
|
||||
|
||||
if (Tracer.getInstance().isEnabled()) {
|
||||
this.trace = Tracer.getInstance().serialize();
|
||||
}
|
||||
this.trace = Tracer.getInstance().serialize();
|
||||
|
||||
repo.getLogLines(result -> {
|
||||
sourceLines = result;
|
||||
|
||||
Reference in New Issue
Block a user