summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Grover <joeygrover@gmail.com>2016-03-10 10:17:26 -0500
committerJoey Grover <joeygrover@gmail.com>2016-03-10 10:17:26 -0500
commit2d069c5e1d2e313db1138f571b0100ebcb1a668b (patch)
tree70bc327fd67ef4a68c9cd885932d55c9e79e49fe
parent4bd56db58fa8d0f9790b992abdd0411de3a84ea6 (diff)
downloadsdl_android-hotfix/handle_http_on_system_requests.tar.gz
-rw-r--r--sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java b/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java
index 50aa6ad02..a48f32a05 100644
--- a/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java
+++ b/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java
@@ -67,9 +67,6 @@ public class OnSystemRequest extends RPCNotification {
e.printStackTrace();
}
}else if(RequestType.HTTP.equals(this.getRequestType())){
- //Builds the body from the policy snapshot
- //tempBody = new String(bulkData);
-
tempHeaders = new Headers();
tempHeaders.setContentType("application/json");
tempHeaders.setConnectTimeout(7);
@@ -80,7 +77,7 @@ public class OnSystemRequest extends RPCNotification {
tempHeaders.setReadTimeout(7);
tempHeaders.setInstanceFollowRedirects(false);
tempHeaders.setCharset("utf-8");
- tempHeaders.setContentLength(bulkData.length); //TODO check if right
+ tempHeaders.setContentLength(bulkData.length);
}
this.body = tempBody;