sdm: Add a property to disable scalar

- Add 'sdm.debug.disable_scalar' property to disable scalar.

Change-Id: Iee0128cc06f1d78ddec011d34086c2c1d7ba3059
This commit is contained in:
Dileep Marchya
2015-07-06 11:37:06 -07:00
parent 858465aec2
commit 511fb6d15c
2 changed files with 8 additions and 0 deletions

View File

@@ -120,5 +120,12 @@ bool Debug::IsRotatorSplitDisabled() {
return (value == 1);
}
bool Debug::IsScalarDisabled() {
int value = 0;
debug_.debug_handler_->GetProperty("sdm.debug.disable_scalar", &value);
return (value == 1);
}
} // namespace sdm