Merge "Extract and fix logic for showing rac dialog." into 24D1-dev am: 958b737fcc

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27072479

Change-Id: I9f5c4c8dea3c7aebc73b5121d6ace7aca22c1dfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Rafael Higuera Silva
2024-04-25 19:07:24 +00:00
committed by Automerger Merge Worker
5 changed files with 87 additions and 13 deletions

View File

@@ -158,7 +158,7 @@ public class ResetNetwork extends InstrumentedFragment {
.setTitleRes(R.string.reset_mobile_network_settings_confirm_title)
.setSourceMetricsCategory(getMetricsCategory());
if (resetSims && SubscriptionUtil.shouldShowRacDialog(context)) {
if (resetSims && SubscriptionUtil.shouldShowRacDialogWhenErasingAllEsims(context)) {
context.startActivity(
EuiccRacConnectivityDialogActivity.getIntent(context, launcher.toIntent()));
} else {