Merge "Consider the last inserted SIM for EmergencyAffordance" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ef98275635
@@ -219,6 +219,7 @@ public class EmergencyAffordanceService extends SystemService {
|
||||
List<SubscriptionInfo> activeSubscriptionInfoList =
|
||||
mSubscriptionManager.getActiveSubscriptionInfoList();
|
||||
if (activeSubscriptionInfoList == null) {
|
||||
setSimNeedsEmergencyAffordance(neededNow);
|
||||
return neededNow;
|
||||
}
|
||||
for (SubscriptionInfo info : activeSubscriptionInfoList) {
|
||||
|
||||
Reference in New Issue
Block a user