It has been a longstanding problem in the LAPD, even with a diversified membership. After WW2 the LAPD advertised in the deep south. Those who joined brought their racism with them. The L.A. riots in the '60s and '90s were about that issue.
Yes, I had friends of all races growing up and as an adult. The high school I went to was so mixed that we knew integration worked.