sdm: color-manager: Detect first frame of UI to apply color-mode.

Default color-mode is applied on the first frame of UI screen.
sdm.boot_anim_layer_count property is used to configure the
number of layers in boot animation process. Any commit with
more layers than sdm.boot_anim_layer_count is treated as first frame
of UI and default color-mode is applied at this point.

CRs-Fixed: 939410
Change-Id: Ib5c568819cd045f0de4ee7dcb4accfae9c27f5b2
This commit is contained in:
Siddharth Zaveri
2016-01-12 01:05:14 -05:00
parent cd7c3ffbd3
commit 918435f45d
4 changed files with 19 additions and 8 deletions

View File

@@ -64,6 +64,7 @@ class Debug {
static int GetSimulationFlag();
static int GetHDMIResolution();
static int GetIdleTimeoutMs();
static int GetBootAnimLayerCount();
static bool IsRotatorDownScaleDisabled();
static bool IsDecimationDisabled();
static int GetMaxPipesPerMixer(DisplayType display_type);