fix get time format failed after reboot

Signed-off-by: yangpeng85 <yangpeng85@huawei.com>
This commit is contained in:
yangpeng85 2022-07-20 10:58:26 +08:00
parent 81eb43c2c1
commit 84d3541452

View File

@ -88,6 +88,7 @@ class TimeManager {
}
this.handleTimeFormatChange();
});
this.handleTimeFormatChange();
} catch (e) {
Log.showError(TAG, `Can't listen timeformate change.`);
}