ソースを参照

revert back to calling enableProfile directly

Disabling without refreshing causes issues on eSTK.me
Peter Cai 1 年間 前
コミット
113cc1b4cf

+ 0 - 3
app-common/src/main/java/im/angry/openeuicc/ui/EuiccManagementFragment.kt

@@ -130,9 +130,6 @@ open class EuiccManagementFragment : Fragment(), EuiccProfilesChangedListener,
         lifecycleScope.launch {
             beginTrackedOperation {
                 val res = if (enable) {
-                    // Disable any active profile first, but don't do a refresh and ignore
-                    // any errors -- we only error if the enabling action fails
-                    channel.lpa.disableActiveProfile(false)
                     channel.lpa.enableProfile(iccid)
                 } else {
                     channel.lpa.disableProfile(iccid)