Added cancel location request + logging changes
* Cancels location polling when all messages are marked as SENT or NOT_SENT
* Changed VERBOSE and DBG to follow SystemProperties that can be set on
non-debug devices.
* Renamed onTimeout to onLocationUnavailable
Bug: 166686862
Test: Cellbroadcast Tests
Test: Sent mock locations using LocationSimulator with:
threshold=80 meters (.05 miles)
distance=120 meters (.075 miles) -> no send
distance=40 meters (.025 miles) -> send
Merged-In: I2fd53564ef0214b832c7e880c4dd609e1da7b8b9
Change-Id: I2fd53564ef0214b832c7e880c4dd609e1da7b8b9
5 files changed