[Settings] Link to incorrect SIM after SIM swap
A click to the UI presented on screen should take user to the exact SIM that clicked instead of the first SIM presented to the end user (and could no longer available). Bug: 227273792 Test: local Change-Id: If5a33f72e5730911af61f20a6a45a40cafb956d0
This commit is contained in:
@@ -232,11 +232,11 @@ public class SubscriptionsPreferenceController extends AbstractPreferenceControl
|
||||
connectCarrierNetwork();
|
||||
return true;
|
||||
});
|
||||
|
||||
mSubsGearPref.setOnGearClickListener(p ->
|
||||
MobileNetworkUtils.launchMobileNetworkSettings(mContext, subInfo));
|
||||
}
|
||||
|
||||
mSubsGearPref.setOnGearClickListener(p ->
|
||||
MobileNetworkUtils.launchMobileNetworkSettings(mContext, subInfo));
|
||||
|
||||
if (!(mContext.getSystemService(UserManager.class)).isAdminUser()) {
|
||||
mSubsGearPref.setGearEnabled(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user