summaryrefslogtreecommitdiff
path: root/app/src/production
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2016-02-06 12:42:42 +0100
committerParménides GV <parmegv@sdf.org>2016-02-06 12:42:42 +0100
commit096faf08f2d0cc4dc4a28677415391942410063d (patch)
tree87fae81878fd79ca9f11056d3b9081f878d77fbc /app/src/production
parent013cff913a7ba73cb5d338848ebdb639ddcabaed (diff)
Update build tools and compile sdk version.
Warn about the needed libraries for 64 bit systems.
Diffstat (limited to 'app/src/production')
-rw-r--r--app/src/production/java/se/leap/bitmaskclient/ProviderAPI.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/ProviderAPI.java b/app/src/production/java/se/leap/bitmaskclient/ProviderAPI.java
index a3f7db6a..b9b449f0 100644
--- a/app/src/production/java/se/leap/bitmaskclient/ProviderAPI.java
+++ b/app/src/production/java/se/leap/bitmaskclient/ProviderAPI.java
@@ -32,7 +32,6 @@ import java.util.*;
import javax.net.ssl.*;
-import org.apache.http.client.*;
import org.json.*;
import org.thoughtcrime.ssl.pinning.util.*;
@@ -432,9 +431,6 @@ public class ProviderAPI extends IntentService {
is = urlConnection.getInputStream();
String plain_response = new Scanner(is).useDelimiter("\\A").next();
json_response = new JSONObject(plain_response);
- } catch (ClientProtocolException e) {
- json_response = getErrorMessage(urlConnection);
- e.printStackTrace();
} catch (IOException e) {
json_response = getErrorMessage(urlConnection);
e.printStackTrace();
@@ -890,10 +886,6 @@ public class ProviderAPI extends IntentService {
responseCode = urlConnection.getResponseCode();
broadcastProgress(progress++);
LeapSRPSession.setToken("");
- } catch (ClientProtocolException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- return false;
} catch (IndexOutOfBoundsException e) {
// TODO Auto-generated catch block
e.printStackTrace();