On Android, if a platform view is involved in the current frame, we need to run the rasterizer task runner in the platform thread. This is required to synchronize the Flutter UI to the Android view system. iOS already does this, so the same approach can be used.