OSDN Git Service

Fix build break by adding missing parenthesis.
authorSharvil Nanavati <sharvil@google.com>
Tue, 7 Jun 2016 23:41:16 +0000 (16:41 -0700)
committerSharvil Nanavati <sharvil@google.com>
Tue, 7 Jun 2016 23:41:16 +0000 (16:41 -0700)
Change-Id: Ia9a47e24b25e3093f19aeea297a86964c8f00722

core/tests/bluetoothtests/src/android/bluetooth/BluetoothTestUtils.java

index 624ffc5..a7ea43e 100644 (file)
@@ -539,7 +539,7 @@ public class BluetoothTestUtils extends Assert {
         try {
             success = completionSemaphore.tryAcquire(DISCOVERABLE_UNDISCOVERABLE_TIMEOUT,
                     TimeUnit.MILLISECONDS);
-            writeOutput(String.format("discoverable() completed in 0 ms");
+            writeOutput(String.format("discoverable() completed in 0 ms"));
         } catch (final InterruptedException e) {
             // This should never happen but just in case it does, the test will fail anyway.
         }
@@ -589,7 +589,7 @@ public class BluetoothTestUtils extends Assert {
         try {
             success = completionSemaphore.tryAcquire(DISCOVERABLE_UNDISCOVERABLE_TIMEOUT,
                     TimeUnit.MILLISECONDS);
-            writeOutput(String.format("undiscoverable() completed in 0 ms");
+            writeOutput(String.format("undiscoverable() completed in 0 ms"));
         } catch (InterruptedException e) {
             // This should never happen but just in case it does, the test will fail anyway.
         }