arkui-x update master OH to weekly_202411048 and OH fix build bug

Signed-off-by: zhangqing <zhangqing50@h-partners.com>
Change-Id: Idacd4e37a292d805aa1537dff22df22aa3f08219
This commit is contained in:
zhangqing 2024-11-07 11:10:56 +08:00
parent 6eecb8beb5
commit e57dadb29e
5 changed files with 25 additions and 2 deletions

View File

@ -918,4 +918,9 @@ double SystemProperties::GetSrollableFriction()
auto ret = system::GetParameter("persist.scrollable.friction", "");
return StringUtils::StringToDouble(ret);
}
bool SystemProperties::IsCrossPlatform()
{
return false;
}
} // namespace OHOS::Ace

View File

@ -346,4 +346,9 @@ double SystemProperties::GetSrollableFriction()
{
return 0.0;
}
bool SystemProperties::IsCrossPlatform()
{
return false;
}
} // namespace OHOS::Ace

View File

@ -604,6 +604,8 @@ public:
static double GetSrollableFriction();
static bool IsCrossPlatform();
private:
static bool opincEnabled_;
static bool developerModeOn_;

View File

@ -289,12 +289,15 @@ void PanRecognizer::HandleTouchUpEvent(const TouchEvent& event)
return;
}
if (currentFingers_ == fingers_) {
if (currentFingers_ == fingers_ && !SystemProperties::IsCrossPlatform()) {
UpdateTouchPointInVelocityTracker(event);
} else if (currentFingers_ > fingers_) {
}
if (currentFingers_ > fingers_) {
panVelocity_.Reset(event.id);
UpdateTouchPointInVelocityTracker(event);
}
UpdateTouchEventInfo(event);
if ((currentFingers_ <= fingers_) &&

View File

@ -856,6 +856,14 @@ void VideoPattern::SetSurfaceForMediaPlayer()
return;
}
isSetMediaSurfaceDone_ = true;
#ifdef RENDER_EXTRACT_SUPPORTED
if (!SystemProperties::GetExtSurfaceEnabled()) {
renderSurface_->SetRenderContext(renderContextForMediaPlayer_);
}
renderSurface_->InitSurface();
#endif
mediaPlayer_->SetRenderSurface(renderSurface_);
if (mediaPlayer_->SetSurface() != 0) {
TAG_LOGW(AceLogTag::ACE_VIDEO, "mediaPlayer renderSurface set failed");