diff options
author | Vishnu Nair <vishnun@google.com> | 2021-02-18 09:04:16 -0800 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2021-02-18 09:04:16 -0800 |
commit | 8a3568667f5481724e525a8118ce0c5658f1a232 (patch) | |
tree | 82a965c15cbae87c1df988e844945d229ab8dd32 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions