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

Commit 48343c34 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Fixes NPE in CarrierTextController

The bug was observable when the device had security (PIN, etc.).

Test: Manual. Installed ThemePicker and changed themes.
Change-Id: I7a086137f0acfad82cee312ac0521ca15738858b
Fixes: 124013078
parent a4d54848
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -299,8 +299,9 @@ public class CarrierTextController {
                displayText.toString().split(mSeparator.toString()),
                anySimReadyAndInService && !missingSimsWithSubs,
                subsIds);
        if (mCarrierTextCallback != null) {
            handler.post(() -> mCarrierTextCallback.updateCarrierInfo(info));
        final CarrierTextCallback callback = mCarrierTextCallback;
        if (callback != null) {
            handler.post(() -> callback.updateCarrierInfo(info));
        }

    }