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

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

Merge "[Settings] Add NPE protection for the bundle"

parents 66e14670 44bc703b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ public class MobileNetworkUtils {
            return false;
        }
        PersistableBundle bundle = carrierConfigCache.getConfigForSubId(subId);
        return bundle.getBoolean(
        return bundle == null ? false : bundle.getBoolean(
                CarrierConfigManager.KEY_USE_RCS_PRESENCE_BOOL, false /*default*/)
                || bundle.getBoolean(CarrierConfigManager.Ims.KEY_RCS_BULK_CAPABILITY_EXCHANGE_BOOL,
                false /*default*/);