Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f8b097e authored by Victoria Lease's avatar Victoria Lease Committed by Android (Google) Code Review
Browse files

Merge "fix NPE in updateClientUids"

parents be33f969 ea78b85b
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -858,6 +858,9 @@ public class GpsLocationProvider implements LocationProviderInterface {
    private void updateClientUids(WorkSource source) {
    private void updateClientUids(WorkSource source) {
        // Update work source.
        // Update work source.
        WorkSource[] changes = mClientSource.setReturningDiffs(source);
        WorkSource[] changes = mClientSource.setReturningDiffs(source);
        if (changes == null) {
            return;
        }
        WorkSource newWork = changes[0];
        WorkSource newWork = changes[0];
        WorkSource goneWork = changes[1];
        WorkSource goneWork = changes[1];