Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ANDROID_ROOT/hardware/qcom/display-caf/libhwcomposer/hwc.cpp
- line 89:
- replace
- for(int i = 0; i < MAX_DISPLAYS; i++)
- with
- for(int i = 0; i < numDisplays; i++)
- line 215:
- replace
- for (int32_t i = numDisplays; i >= 0; i--)
- with
- for (int32_t i = numDisplays-1; i >= 0; i--)
- line 456:
- replace
- for (uint32_t i = 0; i <= numDisplays; i++)
- with
- for (uint32_t i = 0; i < numDisplays; i++)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement