@Deprecated private List<CharSequence> buildLimitedNetworksList(){
  final Context context=getActivity();
  final ArrayList<CharSequence> limited=Lists.newArrayList();
  if (hasSubscription(context)) {
    final String subscriberId=getActiveSubscriberId(context);
    if (mPolicyEditor.hasLimitedPolicy(buildTemplateMobileAll(subscriberId))) {
      limited.add(getText(R.string.data_usage_list_mobile));
    }
    if (mPolicyEditor.hasLimitedPolicy(buildTemplateMobile3gLower(subscriberId))) {
      limited.add(getText(R.string.data_usage_tab_3g));
    }
    if (mPolicyEditor.hasLimitedPolicy(buildTemplateMobile4g(subscriberId))) {
      limited.add(getText(R.string.data_usage_tab_4g));
    }
  }
  if (mPolicyEditor.hasLimitedPolicy(buildTemplateWifiWildcard())) {
    limited.add(getText(R.string.data_usage_tab_wifi));
  }
  if (mPolicyEditor.hasLimitedPolicy(buildTemplateEthernet())) {
    limited.add(getText(R.string.data_usage_tab_ethernet));
  }
  return limited;
}

@ Deprecated private List < CharSequence > buildLimitedNetworksList ( ) { final Context context = getActivity ( ) ; final ArrayList < CharSequence > limited = Lists . newArrayList ( ) ; if ( hasSubscription ( context ) ) { final String subscriberId = getActiveSubscriberId ( context ) ; if ( mPolicyEditor . hasLimitedPolicy ( buildTemplateMobileAll ( subscriberId ) ) ) { limited . add ( getText ( R . string . data_usage_list_mobile ) ) ; } if ( mPolicyEditor . hasLimitedPolicy ( buildTemplateMobile3gLower ( subscriberId ) ) ) { limited . add ( getText ( R . string . data_usage_tab_3g ) ) ; } if ( mPolicyEditor . hasLimitedPolicy ( buildTemplateMobile4g ( subscriberId ) ) ) { limited . add ( getText ( R . string . data_usage_tab_4g ) ) ; } } if ( mPolicyEditor . hasLimitedPolicy ( buildTemplateWifiWildcard ( ) ) ) { limited . add ( getText ( R . string . data_usage_tab_wifi ) ) ; } if ( mPolicyEditor . hasLimitedPolicy ( buildTemplateEthernet ( ) ) ) { limited . add ( getText ( R . string . data_usage_tab_ethernet ) ) ; } return limited ; }
build list of currently limited networks , which defines when background data is restricted .
