Restrict app data on metered networks. am: bcd1e340c6
Original change: undetermined Change-Id: I7a24dcac2bd50bc47dc21c21d9e221f33b2bb7eb
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