The California state assembly has passed a digital privacy bill that aims to prevent government access without warrant to private electronic communications. The bill would provide some exceptions for law enforcement in emergencies or for other public safety requirements.

California is home to a large number of tech companies who face regularly requests for data on their customers from both state and federal law enforcement agencies. Twitter, for example, reported 273 requests for account information in California from January to June this year.