Guest User

Untitled

a guest
Mar 29th, 2015
261
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ANDROID_ROOT/hardware/qcom/display-caf/libhwcomposer/hwc.cpp
  2.  
  3. line 89:
  4. replace
  5. for(int i = 0; i < MAX_DISPLAYS; i++)
  6. with
  7. for(int i = 0; i < numDisplays; i++)
  8.  
  9. line 215:
  10. replace
  11. for (int32_t i = numDisplays; i >= 0; i--)
  12. with
  13. for (int32_t i = numDisplays-1; i >= 0; i--)
  14.  
  15. line 456:
  16. replace
  17. for (uint32_t i = 0; i <= numDisplays; i++)
  18. with
  19. for (uint32_t i = 0; i < numDisplays; i++)
RAW Paste Data