Update UiAutomator Condition

Test: presubmit, abtd: https://android-build.googleplex.com/builds/abtd/run/L61300000959012134?referrer=email
Change-Id: I08524334046239917b3fa97216415cebdb496e02
(cherry picked from commit on android-review.googlesource.com host: 74d9dbe51680fa1bfbba95b909569c02021de2c0)
Merged-In: I08524334046239917b3fa97216415cebdb496e02
diff --git a/nearby/tests/integration/untrusted/src/androidx/test/uiautomator/LogcatWaitMixin.java b/nearby/tests/integration/untrusted/src/androidx/test/uiautomator/LogcatWaitMixin.java
index 86e39dc..8b5ac12 100644
--- a/nearby/tests/integration/untrusted/src/androidx/test/uiautomator/LogcatWaitMixin.java
+++ b/nearby/tests/integration/untrusted/src/androidx/test/uiautomator/LogcatWaitMixin.java
@@ -54,7 +54,7 @@
             @NonNull String specificLog, @NonNull Date startTime) {
         return new Condition<UiDevice, Boolean>() {
             @Override
-            Boolean apply(UiDevice device) {
+            public Boolean apply(UiDevice device) {
                 String logcatLogs;
                 try {
                     logcatLogs = device.executeShellCommand("logcat -v time -v year -d");