Fixed leak cursor in AlertReciever

Bug: 8764753

This fixed cleans up the code and make sure we close
the location cursor when finished with it.

Change-Id: I815c2e99bedbfe52d81e95ea7efd546ec1343635
1 file changed