Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add missing spaces to if statements
  • Loading branch information
noah-livio committed Apr 11, 2022
commit 523e8dad7ba2c3d807cbeee0572908b1f16c5e30
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ public void onServiceStarted(SdlSession session, SessionType type, boolean isEnc
}
checkState();
boolean encoderStarted = startEncoder();
if(encoderStarted) {
if (encoderStarted) {
stateMachine.transitionToState(StreamingStateMachine.STARTED);
hasStarted = true;
} else {
DebugTool.logError(TAG, "Error starting video encoder");
stateMachine.transitionToState(StreamingStateMachine.ERROR);
withPendingRestart = false;
if(session != null) {
if (session != null) {
session.endService(SessionType.NAV);
}
}
Expand Down