Revision a597c658 src/com/rackspace/cloud/servers/api/client/ImageManager.java
b/src/com/rackspace/cloud/servers/api/client/ImageManager.java | ||
---|---|---|
21 | 21 |
import org.xml.sax.SAXException; |
22 | 22 |
import org.xml.sax.XMLReader; |
23 | 23 |
|
24 |
import android.content.Context; |
|
25 |
import android.util.Log; |
|
26 |
|
|
27 |
import com.rackspace.cloud.files.api.client.CustomHttpClient; |
|
24 | 28 |
import com.rackspace.cloud.servers.api.client.parsers.ImagesXMLParser; |
25 | 29 |
|
26 | 30 |
/** |
... | ... | |
29 | 33 |
*/ |
30 | 34 |
public class ImageManager extends EntityManager { |
31 | 35 |
|
32 |
public ArrayList<Image> createList(boolean detail) { |
|
36 |
public ArrayList<Image> createList(boolean detail, Context context) {
|
|
33 | 37 |
|
34 |
DefaultHttpClient httpclient = new DefaultHttpClient();
|
|
38 |
CustomHttpClient httpclient = new CustomHttpClient(context);
|
|
35 | 39 |
HttpGet get = new HttpGet(Account.getServerUrl() + "/images/detail.xml?now=cache_time2"); |
36 | 40 |
ArrayList<Image> images = new ArrayList<Image>(); |
37 | 41 |
|
Also available in: Unified diff