Remove API codepaths < 1.12 Upstream-commit: f35038dfba2bae0f2183a0caa366e8d7cb959220 Component: engine