Merge "[Settings] Should back to previous page when removing the SIM (subinfo is null)"
This commit is contained in:
@@ -280,6 +280,11 @@ public class MobileNetworkSettings extends AbstractMobileNetworkSettings {
|
||||
return;
|
||||
}
|
||||
|
||||
if (SubscriptionUtil.getSubscriptionOrDefault(getContext(), mSubId) == null) {
|
||||
finishFragment();
|
||||
return;
|
||||
}
|
||||
|
||||
ThreadUtils.postOnMainThread(() -> {
|
||||
mActiveSubscriptionsListenerCount = 0;
|
||||
redrawPreferenceControllers();
|
||||
|
Reference in New Issue
Block a user