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

Commit 3e095b25 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

workaround: don't reset compositionType to HWC_FRAMEBUFFER [DO NOT MERGE]

This workaround a HWC HAL issue in Nexus 7, which causes videos and live
wallpapers to animate slowly.

Bug: 7563862
Change-Id: I16ad85317e3e7f47f005e7397357c14186b0a13d
parent 2a8c49eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -804,7 +804,7 @@ public:
        getLayer()->acquireFenceFd = fenceFd;
        getLayer()->acquireFenceFd = fenceFd;
    }
    }
    virtual void setPerFrameDefaultState() {
    virtual void setPerFrameDefaultState() {
        getLayer()->compositionType = HWC_FRAMEBUFFER;
        //getLayer()->compositionType = HWC_FRAMEBUFFER;
    }
    }
    virtual void setDefaultState() {
    virtual void setDefaultState() {
        getLayer()->compositionType = HWC_FRAMEBUFFER;
        getLayer()->compositionType = HWC_FRAMEBUFFER;