Exemplo n.º 1
0
  /**
   * Registration point for roaming off of mobile data combined roaming is true when roaming is true
   * and ONS differs SPN
   *
   * @param h handler to notify
   * @param what what code of message when delivered
   * @param obj placed in Message.obj
   */
  public void registerForDataRoamingOff(Handler h, int what, Object obj) {
    Registrant r = new Registrant(h, what, obj);
    mDataRoamingOffRegistrants.add(r);

    if (!mSS.getDataRoaming()) {
      r.notifyRegistrant();
    }
  }