[M2] 修正编译错误

This commit is contained in:
renwj
2023-03-14 19:39:11 +08:00
parent 52053d7b90
commit c83aee091b

View File

@@ -64,8 +64,7 @@ public class CharterAnalyticsManager {
}
private void removeWaitingCallback() {
if (startAutopilotRunnable != null &&
UiThreadHandler.getsUiHandler().hasCallbacks(startAutopilotRunnable)) {
if (startAutopilotRunnable != null) {
UiThreadHandler.removeCallbacks(startAutopilotRunnable);
}
}