am 82a76800: Merge "DO NOT MERGE Notify provider when disposing last UpdateRecord" into jb-mr1.1-dev

* commit '82a76800ad78b7aa6e2bde2f6512e4ffbe21873f':
  DO NOT MERGE Notify provider when disposing last UpdateRecord
This commit is contained in:
Victoria Lease
2012-12-04 16:32:18 -08:00
committed by Android Git Automerger

View File

@@ -1711,6 +1711,10 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
r.disposeLocked(true);
}
}
// let the provider know if we just disposed its last update record
if (records.size() == 0) {
applyRequirementsLocked(provider);
}
}
private class LocationWorkerHandler extends Handler {