Merge "fix NPE in updateClientUids"

This commit is contained in:
Victoria Lease
2013-01-15 13:48:01 -08:00
committed by Android (Google) Code Review

View File

@@ -858,6 +858,9 @@ public class GpsLocationProvider implements LocationProviderInterface {
private void updateClientUids(WorkSource source) {
// Update work source.
WorkSource[] changes = mClientSource.setReturningDiffs(source);
if (changes == null) {
return;
}
WorkSource newWork = changes[0];
WorkSource goneWork = changes[1];