SAN FRANCISCO––A bill in California to unseal police-misconduct records died quietly in a legislative committee on the Friday before Memorial Day weekend under pressure from police organizations around the state.

The legislation was the latest battle over police transparency, as police agencies around the country have been under scrutiny for use of force and treatment of minorities.

Law-enforcement...