Restrict app data on metered networks. am: bcd1e340c6
Original change: undetermined Change-Id: I6a872c950b0286379490c84c1e86d74d0565fbcd
This commit is contained in:
@@ -802,6 +802,8 @@ public class NetworkStatsServiceTest extends AndroidTestCase {
|
||||
|
||||
mNetManager.setGlobalAlert(anyLong());
|
||||
expectLastCall().atLeastOnce();
|
||||
|
||||
expect(mNetManager.isBandwidthControlEnabled()).andReturn(true).atLeastOnce();
|
||||
}
|
||||
|
||||
private void expectNetworkState(NetworkState... state) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user