commit | c50c01e0b8a1ef3bac59477cb9ecf946a363c9f8 | [log] [tgz] |
---|---|---|
author | Fred Fettinger <fettinge@motorola.com> | Tue Jun 14 17:53:10 2016 -0500 |
committer | Dan Stoza <stoza@google.com> | Wed Jun 15 10:24:49 2016 -0700 |
tree | 7134efed7246254f562267e2a15dd78696de3abf | |
parent | 4931fb298e076212981b2acae6752743d7340f02 [diff] |
HWC2On1Adapter: populateCapabilities: fix virtual display query To determine whether a HWComposer implementation supports virtual displays, HWC2On1Adapter::populateCapabilities() calls query(HWC_DISPLAY_TYPES_SUPPORTED). However, it incorrectly uses HWC_DISPLAY_VIRTUAL instead of HWC_DISPLAY_VIRTUAL_BIT. Update the check to use the correct bitmask. Change-Id: I1ad95d5222a0353816ee65936cf033e5244c80cc