code: @SuppressWarnings({"ChainOfInstanceofChecks", "MagicNumber"})
      @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR2)
      private void fixAllCellInfo(List<CellInfo> cellInfo) {
          if (cellInfo == null) return;
          String networkOperator = telephonyManager.getNetworkOperator();
          if (networkOperator.length() != 5) return;
          int realMnc = Integer.parseInt(networkOperator.substring(3));
          boolean theBug = false;
          for (CellInfo info : cellInfo) {
              if (info instanceof CellInfoCdma) return;
              if (info.isRegistered()) {
                  Cell cell = parseCellInfo(info);
                  if (cell == null) continue;
                  int infoMnc = cell.getMnc();
                  if (infoMnc == (realMnc * 10 + 15)) {
                      theBug = true;
                  }
              }
          }
          if (theBug) {
              for (CellInfo info : cellInfo) {
                  Object identity = null;
                  if (info instanceof CellInfoGsm)
                      identity = ((CellInfoGsm) info).getCellIdentity();
                  else if (info instanceof CellInfoLte)
                      identity = ((CellInfoLte) info).getCellIdentity();
                  else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2 &&
                          info instanceof CellInfoWcdma)
                      identity = ((CellInfoWcdma) info).getCellIdentity();
                  if (identity == null) continue;
                  try {
                      Field mncField = identity.getClass().getDeclaredField("mMnc");
                      mncField.setAccessible(true);
                      int mnc = (Integer) mncField.get(identity);
                      if (mnc >= 25 && mnc <= 1005) {
                          mnc = (mnc - 15) / 10;
                          mncField.setInt(identity, mnc);
                      }
                  } catch (Exception ignored) {
                  }
              }
          }
      }
docs: This will fix values returned by {@link TelephonyManager#getAllCellInfo()} as described
  here: https://github.com/mozilla/ichnaea/issues/340