Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-IA-Hardware-Composer: 提交

external/IA-Hardware-Composer


Commit MetaInfo

修订版d008bd2e394673b49e70d908bae3e53b6c2f9886 (tree)
时间2019-04-22 16:55:48
作者Shaofeng Tang <shaofeng.tang@inte...>
CommiterShaofeng Tang

Log Message

Fix the wrong method name in compiling error

The method name for getting display type is typoed.

Change-Id: Idb22f258d3723b69867e055c70a7a7ca6f609400
Tracked-On: None
Test: Compile success
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

更改概述

差异

--- a/os/android/iahwc2.cpp
+++ b/os/android/iahwc2.cpp
@@ -682,7 +682,7 @@ HWC2::Error IAHWC2::HwcDisplay::PresentDisplay(int32_t *retire_fence) {
682682 layers.emplace_back(l.second->GetLayer());
683683 }
684684
685- if (layers.empty() && display_->DisplayType() != DisplayType::kLogical)
685+ if (layers.empty() && display_->Type() != DisplayType::kLogical)
686686 return HWC2::Error::None;
687687
688688 IHOTPLUGEVENTTRACE("PhysicalDisplay called for Display: %p \n", display_);
Show on old repository browser