commit | 2e536580896e901e69d80d6ecaaee02a8398e8a8 | [log] [tgz] |
---|---|---|
author | Hyunho <hhshin@google.com> | Tue Feb 06 04:33:59 2024 +0000 |
committer | Hyunho Shin <hhshin@google.com> | Thu Feb 08 13:49:20 2024 +0000 |
tree | e9bfda599cc83f8bfe5f61876e9c7d2298bf0532 | |
parent | 9531458ca514b5ff63984fb3922409a743ccf1f4 [diff] |
Click the 'convert to eSIM' menu to finish the pSIM setting Bug: b/319527964 Test: manual done Change-Id: I07facccf53c5ee258f0148f64643eb6e1c3d9118
diff --git a/src/com/android/settings/network/telephony/ConvertToEsimPreferenceController.java b/src/com/android/settings/network/telephony/ConvertToEsimPreferenceController.java index 441c249..08e993b 100644 --- a/src/com/android/settings/network/telephony/ConvertToEsimPreferenceController.java +++ b/src/com/android/settings/network/telephony/ConvertToEsimPreferenceController.java
@@ -20,6 +20,7 @@ import static androidx.lifecycle.Lifecycle.Event.ON_STOP; import android.Manifest; +import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; @@ -143,6 +144,7 @@ Intent intent = new Intent(EuiccManager.ACTION_CONVERT_TO_EMBEDDED_SUBSCRIPTION); intent.putExtra("subId", mSubId); mContext.startActivity(intent); + ((Activity) mContext).finish(); return true; }