Touchscreen is not rotated on SF_PRIMARY_DISPLAY_ORIENTATION setting
Hello,
I am setting option SF_PRIMARY_DISPLAY_ORIENTATION := ORIENTATION_90 in BoardConfig.mk to change display HD702E rotation into landscape. Unfortunately this option does not change touchscreen orientation which is still in portait rotate.
I attach my solution patch for this issue. If someone have better solution, share the code please.
Force_touchscreen_orientation_when__ro_surface_flinger_primary_display_orientation__proper.patch
Have a nice day!