[MS50] Remove NetworkTemplate#buildTemplate* usages
This is a no-op refactoring. These functions are deprecated and replaced by NetworkTemplate#Builder, use public API instead. Test: make RunSettingsLibRoboTests Bug: 204830222 Change-Id: Idc2a09d8e3789ca2c7a97691cfad4b2e2b417f0d
This commit is contained in:
@@ -101,8 +101,7 @@ public class DataUsageInfoControllerTest {
|
||||
}
|
||||
|
||||
private NetworkPolicy getDefaultNetworkPolicy() {
|
||||
NetworkTemplate template = NetworkTemplate.buildTemplateWifi(
|
||||
NetworkTemplate.WIFI_NETWORKID_ALL, null /* subscriberId */);
|
||||
NetworkTemplate template = new NetworkTemplate.Builder(NetworkTemplate.MATCH_WIFI).build();
|
||||
int cycleDay = -1;
|
||||
String cycleTimezone = "UTC";
|
||||
long warningBytes = -1;
|
||||
|
Reference in New Issue
Block a user