mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-23 07:00:09 +00:00
update common/src/main/ets/default/model/common/ScreenManager.ts.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
daf43dd09c
commit
d0367dc5ce
@ -243,8 +243,11 @@ export class ScreenManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
destroyMainWindow(): void {
|
destroyMainWindow(): void {
|
||||||
this.getHost()?.off('windowSizeChange', (data: window.Size) => {
|
try {
|
||||||
});
|
this.getHost()?.off('windowSizeChange');
|
||||||
|
} catch (error) {
|
||||||
|
Log.error(TAG, `destroy window error: ${error}, code: ${error?.code}`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getAvoidArea(): void {
|
getAvoidArea(): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user