mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 22:43:32 -04:00
add mock ahout window
Signed-off-by: zhouyaoying <zhouyaoying@huawei.com> Change-Id: I93bb9b2d1a5efdfe6eefa503b04676d6d3ebd946
This commit is contained in:
@@ -30,7 +30,10 @@ export const WindowType = {
|
||||
TYPE_LAUNCHER_RECENT: 11,
|
||||
TYPE_LAUNCHER_DOCK: 12,
|
||||
TYPE_VOICE_INTERACTION: 13,
|
||||
TYPE_POINTER: 14
|
||||
TYPE_POINTER: 14,
|
||||
TYPE_FLOAT_CAMERA: 15,
|
||||
TYPE_DIALOG: 16,
|
||||
TYPE_SCREENSHOT: 17
|
||||
}
|
||||
|
||||
export const AvoidAreaType= {
|
||||
@@ -286,6 +289,10 @@ export const Window = {
|
||||
})
|
||||
}
|
||||
},
|
||||
setWakeUpScreen: function(...args) {
|
||||
console.warn("Window.setWakeUpScreen interface mocked in the Previewer. How this interface works on the" +
|
||||
" Previewer may be different from that on a real device.")
|
||||
},
|
||||
setDimBehind: function(...args) {
|
||||
console.warn("Window.setDimBehind interface mocked in the Previewer. How this interface works on the" +
|
||||
" Previewer may be different from that on a real device.")
|
||||
|
||||
Reference in New Issue
Block a user