diff options
author | Joey Grover <joeygrover@gmail.com> | 2016-03-09 17:21:49 -0500 |
---|---|---|
committer | Joey Grover <joeygrover@gmail.com> | 2016-03-09 17:21:49 -0500 |
commit | 1a97613fa365fa0b3d63e57e937006bc729ed66d (patch) | |
tree | a218cb1f6ccab0b06184c405e2417d5e20f2475e | |
parent | 33dbdf951174b0c3757ad0065d9a034bbc895d65 (diff) | |
download | sdl_android-1a97613fa365fa0b3d63e57e937006bc729ed66d.tar.gz |
Update whats sent in body for OnSystemRequest
-rw-r--r-- | sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java | 7 |
1 files changed, 1 insertions, 6 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 2af96e0ab..1b8d53e9b 100644 --- a/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java +++ b/sdl_android_lib/src/com/smartdevicelink/proxy/rpc/OnSystemRequest.java @@ -68,12 +68,7 @@ public class OnSystemRequest extends RPCNotification { }
}else if(RequestType.HTTP.equals(this.getRequestType())){
//Builds the body from the policy snapshot
- StringBuilder bodyBuilder = new StringBuilder();
- bodyBuilder.append("{\"data\":");
- //Not sure if this is right
- bodyBuilder.append(new String(bulkData));
- bodyBuilder.append("\"]}");
- tempBody = bodyBuilder.toString();
+ tempBody = new String(bulkData);
tempHeaders = new Headers();
tempHeaders.setContentType("application/json");
|