[Settings] Remove the unexisted subinfo from map

Bug: 258250247
Test: manual
Change-Id: Ied5be71d6ccb251750cf9026f672aeaede860f35
This commit is contained in:
Zoey Chen
2022-11-10 19:53:33 +00:00
parent 862e9b3040
commit e2e753e2fc
6 changed files with 45 additions and 26 deletions

View File

@@ -163,6 +163,7 @@ public class InternetPreferenceController extends AbstractPreferenceController i
/** @OnLifecycleEvent(ON_PAUSE) */
@OnLifecycleEvent(ON_PAUSE)
public void onPause() {
mMobileNetworkRepository.removeRegister();
mSummaryHelper.register(false);
}