Merge "fix NPE in updateClientUids"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2f8b097ea1
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user