Commit e36f6846 authored by Bastien Le Querrec's avatar Bastien Le Querrec

update subscriptions if a SIM change is detected

Avoid having "CARD 1" or "CARD 2" as carrier name.
parent 9f559085
......@@ -37,6 +37,7 @@ public class SimChangedReceiver extends BroadcastReceiver {
.add(new GenerateKeysJob(context));
SilencePreferences.setDeviceSubscriptions(context, getDeviceSubscriptions(context));
}
SubscriptionManagerCompat.from(context).updateActiveSubscriptionInfoList();
}
private static boolean hasDifferentSubscriptions(Context context) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment