Skip to content

Commit 561d7a4

Browse files
jsharkeyAndroid (Google) Code Review
authored andcommitted
Merge "Remove network subtype check when building template."
2 parents 2937a9e + f9f1d06 commit 561d7a4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/java/android/net/NetworkTemplate.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public static NetworkTemplate buildTemplateMobileAll(String subscriberId) {
7878
* uses statistics for requested IMSI.
7979
*/
8080
public static NetworkTemplate buildTemplateMobile3gLower(String subscriberId) {
81-
ensureSubtypeAvailable();
8281
return new NetworkTemplate(MATCH_MOBILE_3G_LOWER, subscriberId);
8382
}
8483

@@ -88,7 +87,6 @@ public static NetworkTemplate buildTemplateMobile3gLower(String subscriberId) {
8887
* requested IMSI.
8988
*/
9089
public static NetworkTemplate buildTemplateMobile4g(String subscriberId) {
91-
ensureSubtypeAvailable();
9290
return new NetworkTemplate(MATCH_MOBILE_4G, subscriberId);
9391
}
9492

0 commit comments

Comments
 (0)