commit | 7237e595962d51813db0383e1f4114453c24ddee | [log] [tgz] |
---|---|---|
author | Yuan Zhao <yzhao@codeaurora.org> | Fri Sep 07 14:25:20 2018 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Sep 11 02:02:30 2018 -0700 |
tree | d663b6c0721b686fa47c3c7e35a21ec97b800ba3 | |
parent | 50a364ac7e997a318a4d1cff83113652eeb5f07b [diff] |
hwc2: Check color_mode_ before calling GetCurrentColorMode Replace color_mode_->GetCurrentColorMode() call with HWCDisplay::GetCurrentColorMode function to avoid null pointer de-reference, since color_mode_ will not be created for virtual display. CRs-Fixed: 2310086 Change-Id: I4fe0ac81cddae3373a7aaa0d7dc02a911a0735fc