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
1 file changed