Log action about to be performed before the operation.
This commit is contained in:
parent
6b99bb8ed1
commit
d100509648
|
@ -119,10 +119,10 @@ public class SetTbrCommandAlt implements Command {
|
||||||
log.debug("Pressing " + (increasePercentage ? "up" : "down") + " " + percentageSteps + " times");
|
log.debug("Pressing " + (increasePercentage ? "up" : "down") + " " + percentageSteps + " times");
|
||||||
for (int i = 0; i < percentageSteps; i++) {
|
for (int i = 0; i < percentageSteps; i++) {
|
||||||
scripter.verifyMenuIsDisplayed(MenuType.TBR_SET);
|
scripter.verifyMenuIsDisplayed(MenuType.TBR_SET);
|
||||||
|
log.debug("Push #" + (i + 1));
|
||||||
if (increasePercentage) scripter.pressUpKey();
|
if (increasePercentage) scripter.pressUpKey();
|
||||||
else scripter.pressDownKey();
|
else scripter.pressDownKey();
|
||||||
SystemClock.sleep(100);
|
SystemClock.sleep(100);
|
||||||
log.debug("Push #" + (i + 1));
|
|
||||||
}
|
}
|
||||||
// Give the pump time to finish any scrolling that might still be going on, can take
|
// Give the pump time to finish any scrolling that might still be going on, can take
|
||||||
// up to 1100ms. Plus some extra time to be sure
|
// up to 1100ms. Plus some extra time to be sure
|
||||||
|
|
Loading…
Reference in a new issue