Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91476a0c authored by Dan Stoza's avatar Dan Stoza Committed by Android (Google) Code Review
Browse files

Merge "HWC2On1Adapter: populateCapabilities: fix virtual display query" into nyc-mr1-dev

parents 720c767e c50c01e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2333,7 +2333,7 @@ void HWC2On1Adapter::populateCapabilities()
        int supportedTypes = 0;
        auto result = mHwc1Device->query(mHwc1Device,
                HWC_DISPLAY_TYPES_SUPPORTED, &supportedTypes);
        if ((result == 0) && ((supportedTypes & HWC_DISPLAY_VIRTUAL) != 0)) {
        if ((result == 0) && ((supportedTypes & HWC_DISPLAY_VIRTUAL_BIT) != 0)) {
            ALOGI("Found support for HWC virtual displays");
            mHwc1SupportsVirtualDisplays = true;
        }