Merge "Fix off-by-one in am start -R (repeat)" into nyc-mr1-dev
This commit is contained in:
@@ -723,10 +723,10 @@ public class Am extends BaseCommand {
|
|||||||
System.out.println("Complete");
|
System.out.println("Complete");
|
||||||
}
|
}
|
||||||
mRepeat--;
|
mRepeat--;
|
||||||
if (mRepeat > 1) {
|
if (mRepeat > 0) {
|
||||||
mAm.unhandledBack();
|
mAm.unhandledBack();
|
||||||
}
|
}
|
||||||
} while (mRepeat > 1);
|
} while (mRepeat > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void runForceStop() throws Exception {
|
private void runForceStop() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user