description

Signed-off-by: 小发发 <lianghui35@huawei.com>
This commit is contained in:
小发发 2024-11-06 10:55:00 +08:00
parent c9881ed153
commit b97226bd22

View File

@ -236,6 +236,11 @@ void AccessibilityScreenTouch::HandleCoordinates(MMI::PointerEvent::PointerItem
startAngle_ = START_ANGLE_PORTRAIT;
break;
case FOLDABLE_DEVICE:
if (FOLDABLE.length() < SUBSCRIPT_TWO) {
HILOG_ERROR("get foldable parameter failed");
ConversionCoordinates(originalX, originalY);
break;
}
if ((displayMgr.GetFoldStatus() == Rosen::FoldStatus::EXPAND &&
FOLDABLE[SUBSCRIPT_TWO] == FOLDABLE_SCREEN_ROTATE) ||
(displayMgr.GetFoldStatus() == Rosen::FoldStatus::FOLDED &&