Commit 2fc8b702 authored by Bastien Le Querrec's avatar Bastien Le Querrec

populate subscription list on first start

parent ca00131d
Pipeline #188 passed with stages
in 7 minutes and 52 seconds
......@@ -76,7 +76,7 @@ public class PassphraseCreateActivity extends PassphraseActivity {
SubscriptionManagerCompat subscriptionManagerCompat = SubscriptionManagerCompat.from(PassphraseCreateActivity.this);
if (Build.VERSION.SDK_INT >= 22) {
List<SubscriptionInfoCompat> activeSubscriptions = subscriptionManagerCompat.getActiveSubscriptionInfoList();
List<SubscriptionInfoCompat> activeSubscriptions = subscriptionManagerCompat.updateActiveSubscriptionInfoList();
DualSimUtil.generateKeysIfDoNotExist(PassphraseCreateActivity.this, masterSecret, activeSubscriptions, false);
} else {
IdentityKeyUtil.generateIdentityKeys(PassphraseCreateActivity.this, masterSecret, -1, false);
......
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