diff options
author | Tuan Nguyen <tnguy238@ford.com> | 2018-02-13 13:52:12 -0800 |
---|---|---|
committer | Tuan Nguyen <tnguy238@ford.com> | 2018-02-13 13:52:12 -0800 |
commit | 46dcf9e24454b089971c40e54f3bfa0e88df20b5 (patch) | |
tree | 280cddc33cd5589ffafeb8cfb2f486b4b583e2e2 | |
parent | fefd4c575942c05a9dce5a7eb02f9a94ec6c7195 (diff) | |
download | sdl_android-bugfix/issue_467.tar.gz |
#467 Fix space and tabbugfix/issue_467
-rw-r--r-- | sdl_android/src/main/java/com/smartdevicelink/protocol/WiProProtocol.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sdl_android/src/main/java/com/smartdevicelink/protocol/WiProProtocol.java b/sdl_android/src/main/java/com/smartdevicelink/protocol/WiProProtocol.java index 3cc900fa7..4d27c9df1 100644 --- a/sdl_android/src/main/java/com/smartdevicelink/protocol/WiProProtocol.java +++ b/sdl_android/src/main/java/com/smartdevicelink/protocol/WiProProtocol.java @@ -259,12 +259,12 @@ public class WiProProtocol extends AbstractProtocol { for (int i = 0; i < frameCount; i++) {
if (i < (frameCount - 1)) {
- ++frameSequenceNumber;
- if (frameSequenceNumber == SdlPacket.FRAME_INFO_FINAL_CONNESCUTIVE_FRAME) {
- // we can't use 0x00 as frameSequenceNumber, because
- // it's reserved for the last frame
- ++frameSequenceNumber;
- }
+ ++frameSequenceNumber;
+ if (frameSequenceNumber == SdlPacket.FRAME_INFO_FINAL_CONNESCUTIVE_FRAME) {
+ // we can't use 0x00 as frameSequenceNumber, because
+ // it's reserved for the last frame
+ ++frameSequenceNumber;
+ }
} else {
frameSequenceNumber = SdlPacket.FRAME_INFO_FINAL_CONNESCUTIVE_FRAME;
} // end-if
|