Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3b7cf33 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Expose constructor taking both dataSourceBuilder and tracer for testing

Bug: 364255103
Test: atest InternalTests:com.android.internal.protolog
Flag: TEST_ONLY
Change-Id: I4696af5d5aa57877618b27ad2bd69a0379963451
parent 2918d530
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -122,7 +122,8 @@ public final class ProtoLogConfigurationService extends IProtoLogConfigurationSe
        this(ProtoLogDataSource::new, tracer);
    }

    private ProtoLogConfigurationService(
    @VisibleForTesting
    public ProtoLogConfigurationService(
            @NonNull ProtoLogDataSourceBuilder dataSourceBuilder,
            @NonNull ViewerConfigFileTracer tracer) {
        mDataSource = dataSourceBuilder.build(