diff options
author | Joey Grover <joeygrover@gmail.com> | 2016-03-10 10:17:26 -0500 |
---|---|---|
committer | Joey Grover <joeygrover@gmail.com> | 2016-03-10 10:17:26 -0500 |
commit | 2d069c5e1d2e313db1138f571b0100ebcb1a668b (patch) | |
tree | 70bc327fd67ef4a68c9cd885932d55c9e79e49fe | |
parent | 4bd56db58fa8d0f9790b992abdd0411de3a84ea6 (diff) | |
download | sdl_android-hotfix/handle_http_on_system_requests.tar.gz |
Clean up OnSystemRequesthotfix/handle_http_on_system_requests
-rw-r--r-- | sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java | 5 |
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;
|