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

Commit 514d7462 authored by Edgar Wang's avatar Edgar Wang
Browse files

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
parent c073abaf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);