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:
@@ -59,6 +59,13 @@ int Debug::GetIdleTimeoutMs() {
|
||||
return value;
|
||||
}
|
||||
|
||||
int Debug::GetBootAnimLayerCount() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("sdm.boot_anim_layer_count", &value);
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
bool Debug::IsRotatorDownScaleDisabled() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("sdm.debug.rotator_downscale", &value);
|
||||
|
||||
Reference in New Issue
Block a user