display: Add property to enable rotator for UI
Add system property to enable Rotator for UI layers.
It is disabled for UI layers by default.
Change-Id: Ide3faa8124ce13e08124aba7ae01c2253c63b828
CRs-Fixed: 2230994
diff --git a/include/display_properties.h b/include/display_properties.h
index 43a28ae..e1ba4fd 100644
--- a/include/display_properties.h
+++ b/include/display_properties.h
@@ -46,6 +46,8 @@
#define IDLE_TIME_INACTIVE_PROP DISPLAY_PROP("idle_time_inactive")
#define BOOT_ANIMATION_LAYER_COUNT_PROP DISPLAY_PROP("boot_anim_layer_count")
#define DISABLE_ROTATOR_DOWNSCALE_PROP DISPLAY_PROP("disable_rotator_downscale")
+// Enables rotator for UI
+#define ENABLE_ROTATOR_UI_PROP DISPLAY_PROP("enable_rotator_ui")
#define DISABLE_DECIMATION_PROP DISPLAY_PROP("disable_decimation")
#define PRIMARY_MIXER_STAGES_PROP DISPLAY_PROP("primary_mixer_stages")
#define EXTERNAL_MIXER_STAGES_PROP DISPLAY_PROP("external_mixer_stages")