diff options
Diffstat (limited to 'system/hwc2/Common.cpp')
-rw-r--r-- | system/hwc2/Common.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/hwc2/Common.cpp b/system/hwc2/Common.cpp index 19217411..3e465c22 100644 --- a/system/hwc2/Common.cpp +++ b/system/hwc2/Common.cpp @@ -26,4 +26,8 @@ bool IsCuttlefishFoldable() { return IsCuttlefish() && android::base::GetProperty("ro.product.name", "").find("foldable") != std::string::npos; -}
\ No newline at end of file +} + +bool IsNoOpMode() { + return android::base::GetProperty("ro.vendor.hwcomposer.mode", "") == "noop"; +} |