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

Commit dd3d5b11 authored by Steve Elliott's avatar Steve Elliott
Browse files

[kairos] Only recreate conn repo if subId goes away

Flag: com.android.systemui.status_bar_mobile_icon_kairos
Bug: 383172066
Test: atest
Change-Id: If1f2dc3ba93b6f576e0d871a77b5fce3033e7b3c
parent 6ae18017
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -252,6 +252,7 @@ constructor(
    override val mobileConnectionsBySubId: Incremental<Int, MobileConnectionRepositoryKairos> =
        buildIncremental {
            subscriptionsById
                .map { it.mapValues {} } // only base diffs off of keys
                .asIncremental()
                .mapValues { (subId, sub) -> mobileRepoFactory.get().create(subId) }
                .applyLatestSpecForKey()