Having an iPhone doesn't stop Google handing over your data to the police, according to a New York Times investigation.

But the Times found that Google is giving law enforcement data from both Android devices and iPhones when requests are granted.

A New York Times investigation into how Google furnishes law enforcement with phone data exposed one crucial detail — having an iPhone doesn't stop Google handing over your data.

Using the database, Google is able to provide police with the data of phones from a specific time and location.

By submitting "geofence" warrants, police are able to look at which phones were in close proximity to a crime.

Former Google employee Brian McClendon who oversaw Google Maps until 2015, told the Times the method seemed to him "like a fishing expedition."

The text above is a summary, you can read full article here.