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

Commit d2b093aa authored by Dan Stoza's avatar Dan Stoza Committed by android-build-merger
Browse files

Merge \\"HWC2On1Adapter: populateCapabilities: fix virtual display query\\"...

Merge \\"HWC2On1Adapter: populateCapabilities: fix virtual display query\\" into nyc-mr1-dev am: 91476a0c
am: abb745c5

Change-Id: I0f22a1e84655b79319d9e480b3dc1a951ab43e1d
parents e34a5ec4 abb745c5
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;
        }