Merge \"Fix off-by-one in am start -R (repeat)\" into nyc-mr1-dev

am: a3fc533d77

Change-Id: I1a779203012617991be1669b14d3466badc0cbd0
This commit is contained in:
Chong Zhang
2016-06-29 16:58:15 +00:00
committed by android-build-merger

View File

@ -723,10 +723,10 @@ public class Am extends BaseCommand {
System.out.println("Complete");
}
mRepeat--;
if (mRepeat > 1) {
if (mRepeat > 0) {
mAm.unhandledBack();
}
} while (mRepeat > 1);
} while (mRepeat > 0);
}
private void runForceStop() throws Exception {