Log action about to be performed before the operation.

This commit is contained in:
Johannes Mockenhaupt 2017-08-20 19:12:58 +02:00
parent 6b99bb8ed1
commit d100509648
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -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