[Settings] Code Refactor
Adjust code structure for maintainance. Bug: 259611847 Test: auto test Change-Id: I1fab8d0347f64c01ee768e4bb9ea838a9e7ad4fc
This commit is contained in:
@@ -89,12 +89,9 @@ public class EraseEuiccDataDialogFragment extends InstrumentedDialogFragment imp
|
||||
}
|
||||
|
||||
private void runAsyncWipe(Context context) {
|
||||
AsyncTask.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
RecoverySystem.wipeEuiccData(
|
||||
context, PACKAGE_NAME_EUICC_DATA_MANAGEMENT_CALLBACK);
|
||||
}
|
||||
});
|
||||
Runnable runnable = (new ResetNetworkOperationBuilder(context))
|
||||
.resetEsim(PACKAGE_NAME_EUICC_DATA_MANAGEMENT_CALLBACK)
|
||||
.build();
|
||||
AsyncTask.execute(runnable);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user