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

Commit f94ea66d authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Expose getSubId to ensure we have correct subId state in IMS

Expose getSubId in order to allow consumers of ImsManager to
know if ImsManager does not match the requested subId.

Fixes: 218893458
Bug: 219529364
Test: atest ImsCommonTests
Change-Id: Ie9838dde5ce628b13937078fa9acf878a0b71dc4
parent 0c31ace7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1405,7 +1405,10 @@ public class ImsManager implements FeatureUpdates {
        }
    }

    private int getSubId() {
    /**
     * @return the subscription ID currently associated with this ImsManager instance.
     */
    public int getSubId() {
        return mMmTelConnectionRef.get().getSubId();
    }