It's the same thing though. The press will immediately find a picture from social media where the victim is holding a beer or making some funny sign (which they will call a gang symbol). They will pour through his background to see if he's ever had trouble with the police, been suspended from school, jaywalked. There won't be a huge outcry for justice and likely there won't be justice. The story is he had it coming.
How do you know a police officer's life matters? His death will be a NATIONAL EVENT. Every police officer in town will stop what he is doing and race in to try to find the killer and there will daily updates in the press, not just the local press, the national press. Maybe the President will call the widow. There will be an outpouring of support from the community and maybe a go fund me page for the kids. There is nothing wrong with any of that, but that is how you know that his life mattered, because people really, really care that it was ended prematurely.