diff --git a/mobiledatasettings/src/main/ets/default/pages/index.ets b/mobiledatasettings/src/main/ets/default/pages/index.ets index 9884522..ecf40ba 100644 --- a/mobiledatasettings/src/main/ets/default/pages/index.ets +++ b/mobiledatasettings/src/main/ets/default/pages/index.ets @@ -53,6 +53,7 @@ struct Index { aboutToDisappear(): void { console.info(TAG + "aboutToDisappear"); + telephonyObserver.off("simStateChange"); } private updateDataEnableState(simState) {