Launch WfcActivation with subscription ID

For multi SIM project, need to have subscription ID information in the
intent for launching WFC activation activity.

Bug: 112826472
Test: manual test
Change-Id: I9f470c014054efa612c87ff16e574fc9fd286b3d
This commit is contained in:
clownshen
2018-10-31 13:28:09 +08:00
parent 8b16aba0dd
commit 95f8c6e96a

View File

@@ -398,6 +398,7 @@ public class WifiCallingSettingsForSub extends SettingsPreferenceFragment
// Build and return intent // Build and return intent
Intent intent = new Intent(); Intent intent = new Intent();
intent.setComponent(componentName); intent.setComponent(componentName);
intent.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, mSubId);
return intent; return intent;
} }