Move hasReadyMobileRadio() to DataUsageUtils.
- move the method from DataUsageList to DataUsageUtils where other utility methods are. Bug: 111751694 Test: make RunSettingsRoboTests Change-Id: If7176cb4278d568f890a0c94437c4483bbd472f9
This commit is contained in:
@@ -132,7 +132,7 @@ public class AppDataUsagePreferenceController extends AppInfoPreferenceControlle
|
||||
}
|
||||
|
||||
private static NetworkTemplate getTemplate(Context context) {
|
||||
if (DataUsageList.hasReadyMobileRadio(context)) {
|
||||
if (DataUsageUtils.hasReadyMobileRadio(context)) {
|
||||
return NetworkTemplate.buildTemplateMobileWildcard();
|
||||
}
|
||||
if (DataUsageUtils.hasWifiRadio(context)) {
|
||||
|
Reference in New Issue
Block a user