commit | 04192a65a4eea3e8bccdfddec23bbc1ae8ec5043 | [log] [tgz] |
---|---|---|
author | Tharaga Balachandran <tbalacha@codeaurora.org> | Wed Aug 29 16:23:25 2018 -0400 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Oct 01 11:35:43 2018 -0700 |
tree | 0feca07db70e513c0731d2e13bec2e62f6720568 | |
parent | 2214d2ceeef92c977da5ee95a4e4322d6d52d6b5 [diff] |
sdm: Cache command mode status during initialization This function reduces time spent in HWCDisplay::IsDisplayCommandMode() by caching the is_cmd_mode_ flag after querying fixed info once during initialization and after dynamic mode switching through SetDisplayMode(). CRs-Fixed: 2309620 Change-Id: Ib33f41030e8828f7a977893b33ba3819f4622286