Yes, you do need to pay capital gains tax to California on the sale of your RSU's. The entire amount of capital gains is taxable and should be reported in that section.
The foreign earned income exclusion is strictly applied on the federal level but not applied on the state level. This includes the state of California.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"