IpConnectivityMetrics reads buffer size in settings
Test: IpConnectivityMetricsTest passes. Also manually changed the new setting and verified the buffer size is as expected after flushing the buffer. Bug: 32198637 Change-Id: Ie78d3fb03cea7883585549dac4f2063f0a8d9f4b
This commit is contained in:
@@ -57,7 +57,7 @@ public class IpConnectivityMetricsTest extends TestCase {
|
||||
|
||||
public void setUp() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mService = new IpConnectivityMetrics(mCtx);
|
||||
mService = new IpConnectivityMetrics(mCtx, (ctx) -> 2000);
|
||||
}
|
||||
|
||||
public void testLoggingEvents() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user