Include phoneId as extra when subId is not available.

Test: basic sanity
Bug: 122819162
Change-Id: Ia55b5550930b1e34e14e46c718261ec11ac56f43
This commit is contained in:
Amit Mahajan
2019-02-07 12:29:55 -08:00
parent f552341204
commit ba71c5f015

View File

@@ -2048,6 +2048,8 @@ public class SubscriptionManager {
putPhoneIdAndSubIdExtra(intent, phoneId, subIds[0]);
} else {
logd("putPhoneIdAndSubIdExtra: no valid subs");
intent.putExtra(PhoneConstants.PHONE_KEY, phoneId);
intent.putExtra(PhoneConstants.SLOT_KEY, phoneId);
}
}