diff options
author | Chris Craik <ccraik@google.com> | 2014-07-16 19:11:46 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-07-16 19:11:46 -0700 |
commit | 58ddced27752b5e47b0d42fec66f8dcfde070ec1 (patch) | |
tree | f3ac737737f691bfebefc3651b53bad85ea7e2dc | |
parent | 889fc94ffa70633e510e812b9da86723f4eee384 (diff) | |
download | frameworks_base-58ddced27752b5e47b0d42fec66f8dcfde070ec1.zip frameworks_base-58ddced27752b5e47b0d42fec66f8dcfde070ec1.tar.gz frameworks_base-58ddced27752b5e47b0d42fec66f8dcfde070ec1.tar.bz2 |
Initializing variables - generally a good practice
Change-Id: Ib29a69f741eda869701493bb04e155d786e6e402
-rw-r--r-- | libs/hwui/Caches.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp index 8e3c444..548ec91 100644 --- a/libs/hwui/Caches.cpp +++ b/libs/hwui/Caches.cpp @@ -198,6 +198,7 @@ bool Caches::initProperties() { drawDeferDisabled = !strcasecmp(property, "true"); INIT_LOGD(" Draw defer %s", drawDeferDisabled ? "disabled" : "enabled"); } else { + drawDeferDisabled = false; INIT_LOGD(" Draw defer enabled"); } @@ -205,6 +206,7 @@ bool Caches::initProperties() { drawReorderDisabled = !strcasecmp(property, "true"); INIT_LOGD(" Draw reorder %s", drawReorderDisabled ? "disabled" : "enabled"); } else { + drawReorderDisabled = false; INIT_LOGD(" Draw reorder enabled"); } |