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

Commit abb745c5 authored by Fred Fettinger's avatar Fred Fettinger Committed by android-build-merger
Browse files

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

am: 91476a0c

Change-Id: Ic1806500ba732a756ea1f95b0fc023b544c39ecc
parents 888f8835 91476a0c
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;
        }