Use checkOp instead noteOp for location permission checks.

Also don't report location access in getLastLocation() unless there
exists a location that can be delivered to the client.

Bug: 123533751
Bug: 122748680
Test: Manual
Change-Id: I62897cefbfb35422a076c9a5cd0e1d0df62a39b1
1 file changed