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

Commit 51f6e50f authored by Ecco Park's avatar Ecco Park Committed by android-build-merger
Browse files

Location: adding NULL check for the LPP_PROFILE property am: 8eec744c am: 13fac421

am: ecc493db

Change-Id: Ief3b299ea0384b5ced134f0045857b25ddf21df9
parents 9c721d5a ecc493db
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -543,7 +543,9 @@ public class GnssLocationProvider implements LocationProviderInterface {
                    loadPropertiesFromResource(context, mProperties);
                    String lpp_profile = mProperties.getProperty("LPP_PROFILE");
                    // set the persist property LPP_PROFILE for the value
                    if (lpp_profile != null) {
                        SystemProperties.set(LPP_PROFILE, lpp_profile);
                    }
                } else {
                    // reset the persist property
                    SystemProperties.set(LPP_PROFILE, "");