[SM07] Make combine subtype configurable from Settings am: 7e6e807bec
Change-Id: Ic8426ae36b5aaadfdd3292a3b70fc9b290443d5c
This commit is contained in:
@@ -1294,6 +1294,7 @@ public class NetworkStatsServiceTest extends NetworkStatsBaseTest {
|
|||||||
when(mSettings.getPollInterval()).thenReturn(HOUR_IN_MILLIS);
|
when(mSettings.getPollInterval()).thenReturn(HOUR_IN_MILLIS);
|
||||||
when(mSettings.getPollDelay()).thenReturn(0L);
|
when(mSettings.getPollDelay()).thenReturn(0L);
|
||||||
when(mSettings.getSampleEnabled()).thenReturn(true);
|
when(mSettings.getSampleEnabled()).thenReturn(true);
|
||||||
|
when(mSettings.getCombineSubtypeEnabled()).thenReturn(false);
|
||||||
|
|
||||||
final Config config = new Config(bucketDuration, deleteAge, deleteAge);
|
final Config config = new Config(bucketDuration, deleteAge, deleteAge);
|
||||||
when(mSettings.getDevConfig()).thenReturn(config);
|
when(mSettings.getDevConfig()).thenReturn(config);
|
||||||
|
|||||||
Reference in New Issue
Block a user