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

Commit 67ddb854 authored by Giulio Cervera's avatar Giulio Cervera
Browse files

Fix Qcom ifdef

Till latest SF CAF changes perform was only used for external Display
(HDMI/WFD), now is used also for primary

Change-Id: I1a6b9ea089538ab2615d49f869d640144220713a
parent 8f6bc5f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -231,7 +231,7 @@ void HWComposer::dump(String8& result, char* buffer, size_t SIZE,
    }
}

#ifdef QCOM_HDMI_OUT
#ifdef QCOM_HARDWARE
void HWComposer::perform(int event, int value) {
    if (mHwc) {
        mHwc->perform(mHwc, event, value);
+0 −2
Original line number Diff line number Diff line
@@ -70,8 +70,6 @@ public:
#ifdef QCOM_HARDWARE
    // gets the list flags
    uint32_t getFlags() const;
#endif
#ifdef QCOM_HDMI_OUT
    void perform(int event, int value);
#endif