Merge "Update UiAutomator Condition"

This commit is contained in:
Yichun Li 2023-01-31 03:14:23 +00:00 • committed by Gerrit Code Review
commit 3a4967cd07

View file

@ -54,7 +54,7 @@ public class LogcatWaitMixin extends WaitMixin<UiDevice> {
@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");