Why is Camera2 API is such a bad state?

Looking at the messages in this forum, it is one complaint after another about bugs in Camera2 API.
For instance, the RAW mode seems to be broken on every phone.
If other mobile phone companies can manage to support Camera2 API, why can’t Samsung?

Hello,
Would you please elaborate on the bug you are talking about?

We will try to address the issue. And Samsung smartphones support Camera2 API.

Thank you

This is the same bug that I mentioned already: The phone apps that support RAW always freeze when taking a RAW app. See bug report 33376.