Merge "sdm: Change idle fallback time dynamically."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
d77bc08802
@@ -54,11 +54,15 @@ int Debug::GetHDMIResolution() {
|
||||
return value;
|
||||
}
|
||||
|
||||
uint32_t Debug::GetIdleTimeoutMs() {
|
||||
int value = IDLE_TIMEOUT_DEFAULT_MS;
|
||||
debug_.debug_handler_->GetProperty("sdm.idle_time", &value);
|
||||
void Debug::GetIdleTimeoutMs(uint32_t *active_ms, uint32_t *inactive_ms) {
|
||||
int active_val = IDLE_TIMEOUT_ACTIVE_MS;
|
||||
int inactive_val = IDLE_TIMEOUT_INACTIVE_MS;
|
||||
|
||||
return UINT32(value);
|
||||
debug_.debug_handler_->GetProperty("sdm.idle_time", &active_val);
|
||||
debug_.debug_handler_->GetProperty("sdm.idle_time.inactive", &inactive_val);
|
||||
|
||||
*active_ms = UINT32(active_val);
|
||||
*inactive_ms = UINT32(inactive_val);
|
||||
}
|
||||
|
||||
int Debug::GetBootAnimLayerCount() {
|
||||
|
||||
Reference in New Issue
Block a user