Revert "Clean up debug.sf.ignore_hwc_physical_display_orientation"
Revert submission 20881991-clean-up-temp-sysprop
Reason for revert: b/264735287
Reverted changes: /q/submissionid:20881991-clean-up-temp-sysprop
Change-Id: I26b51519ef8b7f15a56577fe44e5ed6bba2e75e7
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h
index 51d7216..678495d 100644
--- a/services/surfaceflinger/SurfaceFlinger.h
+++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -353,6 +353,11 @@
// on this behavior to increase contrast for some media sources.
bool mTreat170mAsSrgb = false;
+ // Allows to ignore physical orientation provided through hwc API in favour of
+ // 'ro.surface_flinger.primary_display_orientation'.
+ // TODO(b/246793311): Clean up a temporary property
+ bool mIgnoreHwcPhysicalDisplayOrientation = false;
+
protected:
// We're reference counted, never destroy SurfaceFlinger directly
virtual ~SurfaceFlinger();