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

Commit ea78b85b authored by Victoria Lease's avatar Victoria Lease
Browse files

fix NPE in updateClientUids

Bug: 8009908
Change-Id: I54d97c587a3fa9d003f654f98fdfdbe21af791d6
parent 82176350
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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];