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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user