Skip to content

Commit 64543b9

Browse files
author
Julian Kast
committed
Fixing issues form Review
1 parent 8e79cec commit 64543b9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

base/src/main/java/com/smartdevicelink/managers/screen/BaseTextAndGraphicManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private synchronized void sdlUpdate(final CompletionListener listener) {
196196
}
197197
}
198198

199-
// If Task is IN_PROGRESS it's not on the queue, we need to cancel it, operation will take care of stopping it.
199+
// If Task is IN_PROGRESS it's not on the queue, we need to cancel it, the operation will take care of stopping it and will call the listener back
200200
if (updateOperation != null && updateOperation.getState() == Task.IN_PROGRESS) {
201201
updateOperation.cancelTask();
202202
}
@@ -491,7 +491,7 @@ public void onCapabilityRetrieved(Object capability) {
491491
// Update the queue's suspend state
492492
updateTransactionQueueSuspended();
493493
if (hasData()) {
494-
update(null);
494+
sdlUpdate(null);
495495
}
496496
}
497497

base/src/main/java/com/smartdevicelink/managers/screen/TextAndGraphicUpdateOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ public Show getCurrentScreenData() {
617617
return currentScreenData;
618618
}
619619

620-
public void setCurrentScreenData(Show currentScreenData) {
620+
void setCurrentScreenData(Show currentScreenData) {
621621
this.currentScreenData = currentScreenData;
622622
}
623623

0 commit comments

Comments
 (0)