This was fixed when the next patch for Android Studio was released, back in 2019.
(Just to close this question off, old unanswered questions look untidy).