Correct confirm message in Reset options -> Erase all data(factory rest)

- when device doesn't support esim, don't mention SIM in sub-title.

Bug: 151899712
Test: manual
Change-Id: Id9f7b1e73173a5a623206f785894f5579a0c2151
This commit is contained in:
Edgar Wang
2020-03-25 16:17:40 +08:00
parent c073abaf2e
commit 514d74621a

View File

@@ -344,6 +344,8 @@ public class MasterClear extends InstrumentedFragment implements OnGlobalLayoutL
noCancelMobilePlan.setVisibility(View.VISIBLE);
mEsimStorage.setChecked(true /* checked */);
}
} else {
mEsimStorage.setChecked(false /* checked */);
}
final UserManager um = (UserManager) getActivity().getSystemService(Context.USER_SERVICE);