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

Commit e654f5e5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Null Pointer Check on Sim Swap"

parents 5ad90adf a8ce225c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -539,7 +539,10 @@ public class GnssLocationProvider implements LocationProviderInterface {
            synchronized (mLock) {
                if (configManager != null) {
                    PersistableBundle b = configManager.getConfig();
                    isKeepLppProfile = b.getBoolean(CarrierConfigManager.KEY_PERSIST_LPP_MODE_BOOL);
                    if (b != null) {
                        isKeepLppProfile =
                                b.getBoolean(CarrierConfigManager.KEY_PERSIST_LPP_MODE_BOOL);
                    }
                }
                if (isKeepLppProfile) {
                    // load current properties for the carrier