commit | 8a3568667f5481724e525a8118ce0c5658f1a232 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Thu Feb 18 09:04:16 2021 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Thu Feb 18 09:04:16 2021 -0800 |
tree | 82a965c15cbae87c1df988e844945d229ab8dd32 | |
parent | 30780cf472ba2e45fe791c9cbccd3612df2c3f1a [diff] |
SurfaceControlViewHost: Always set FLAG_HARDWARE_ACCELERATED for embedded views If FLAG_HARDWARE_ACCELERATED is not set, view framework will not use hw rendering and the shadows will not be rendered. Fix this by adding the flag when setting the view in SurfaceControlViewHost. The public api already sets this flag, so this brings parity to the internal api as well. Test: Embedded window can draw shadows Fixes: 180613222 Change-Id: Ife84ea9e09d415679fdf973bbc572eda360921e4