commit | f0ec407dc5fdb420550ed29f9556909bd9f635a9 | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Mon Jun 22 12:21:36 2015 +0100 |
committer | Chris Banes <chrisbanes@google.com> | Mon Jun 22 12:29:29 2015 +0100 |
tree | 316066fc3aa70c22bcbc3c6cdcd6a18ac25a83bb | |
parent | b92cd928e2a9a06d6781308feaf12f6928229df7 [diff] |
Stop spamming logcat with location permission denials Currently we use isProviderEnabled() to check if we can access a location provider, but this call also requires the relevant location permission to be granted. This CL adds an explicit permission check before we call anything on LocationManager. BUG: 21993901 Change-Id: I4de69df092e2d0704ccd704ea6c87824e57a7d82