Merge "Check if ECBMode when activate SIM card" into main

This commit is contained in:
SongFerng Wang
2025-02-13 18:41:42 -08:00
committed by Android (Google) Code Review
2 changed files with 29 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ class SubscriptionActivationRepository(
Log.i(TAG, "Unable to toggle subscription due to unusable subscription ID.")
return
}
if (!active && isEmergencyCallbackMode(subId)) {
if (isEmergencyCallbackMode(subId)) {
val intent = Intent(ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS).apply {
setPackage(Utils.PHONE_PACKAGE_NAME)
}