From 64e5efbf7d3f66d4f8a141c419ef50cf7f3d8cb4 Mon Sep 17 00:00:00 2001 From: xiaojianfeng Date: Sat, 30 Jul 2022 04:45:22 +0000 Subject: [PATCH] delete Orientation.SENSOR, SENSOR_VERTICAL, SENSOR_HORIZONTAL Signed-off-by: xiaojianfeng Change-Id: I775c4b762546d8b3c1e96904e5e8818afebf183a --- runtime/main/extend/systemplugin/napi/ohos_screen.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/runtime/main/extend/systemplugin/napi/ohos_screen.js b/runtime/main/extend/systemplugin/napi/ohos_screen.js index 3740235b..a63bb9ce 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_screen.js +++ b/runtime/main/extend/systemplugin/napi/ohos_screen.js @@ -20,10 +20,7 @@ export const Orientation = { VERTICAL: 1, HORIZONTAL: 2, REVERSE_VERTICAL: 3, - REVERSE_HORIZONTAL: 4, - SENSOR: 5, - SENSOR_VERTICAL: 6, - SENSOR_HORIZONTAL: 7 + REVERSE_HORIZONTAL: 4 }; export const Screen = {