[Settings] Change the way in NetworkProviderCallsSmsController for getting the subscription info from room db part2

Bug: 236919685
Test: atest NetworkProviderCallsSmsControllerTest
Change-Id: Ibbfa1fed15ea4fa38cff38d78855326e3d74fe0e
This commit is contained in:
Zoey Chen
2022-10-06 11:09:58 +00:00
parent a87affdb82
commit 605754eff3
3 changed files with 151 additions and 136 deletions

View File

@@ -121,7 +121,7 @@ public class NetworkDashboardFragment extends DashboardFragment implements
controllers.add(internetPreferenceController);
}
controllers.add(privateDnsPreferenceController);
controllers.add(new NetworkProviderCallsSmsController(context, lifecycle));
controllers.add(new NetworkProviderCallsSmsController(context, lifecycle, lifecycleOwner));
return controllers;
}