!44 注册sim监听

Merge pull request !44 from 徐黔南/master
This commit is contained in:
openharmony_ci 2022-08-31 07:46:37 +00:00 committed by Gitee
commit 7ba118e40f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -53,6 +53,7 @@ struct Index {
aboutToDisappear(): void {
console.info(TAG + "aboutToDisappear");
telephonyObserver.off("simStateChange");
}
private updateDataEnableState(simState) {