Merge "Wait for BackgroundThread.getHandler() to be idle to run next WindowManager related test" into main