Fix typo in print cts tests.
Change-Id: Ib39544a62525424aceb5b7574c79e86e0309f483
diff --git a/tests/print/src/android/print/cts/PrintInstrument.java b/tests/print/src/android/print/cts/PrintInstrument.java
index cd07410..b154901 100644
--- a/tests/print/src/android/print/cts/PrintInstrument.java
+++ b/tests/print/src/android/print/cts/PrintInstrument.java
@@ -249,7 +249,7 @@
final long identity = Binder.clearCallingIdentity();
try {
final AtomicBoolean success = new AtomicBoolean();
- final CountDownLatch completionLacth = new CountDownLatch(1);
+ final CountDownLatch completionLatch = new CountDownLatch(1);
mAm.clearApplicationUserData(clearedPackageName,
new IPackageDataObserver.Stub() {
@@ -260,12 +260,12 @@
} else {
success.set(false);
}
- completionLacth.countDown();
+ completionLatch.countDown();
}
}, UserHandle.USER_CURRENT);
try {
- completionLacth.await();
+ completionLatch.await();
} catch (InterruptedException ie) {
/* ignore */
}