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

Commit a8ce225c authored by Wyatt Riley's avatar Wyatt Riley
Browse files

Null Pointer Check on Sim Swap

Rare bug, nearby but distinct from 35485906

Bug: 35485906
Change-Id: I085c77d1e9e291b47ba15bf2c5cd154d085e14a4
Fixes: 63022420
Test: Build, basic GPS check and sim swaps
parent 668feb25
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -536,7 +536,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