commit | 8a3083eecacc46eafba56ad416dee026c5dddff4 | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Mon Dec 03 13:21:07 2018 -0800 |
committer | Marissa Wall <marissaw@google.com> | Tue Dec 04 13:01:45 2018 -0800 |
tree | 882227343d1f7f2c65769f9407fe894f6547eae6 | |
parent | face176394e0a28bd7b7b8bed13b4696e79668a2 [diff] [blame] |
Change what in layer_state_t to 64 bit. We finally reached the edge of 32 bit enum for it in ag/5659622. Bug: None Test: Builds. Change-Id: If2bab78980caf061f100ed7d75d112882b9e0133
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 5b3c477..39d54a2 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -3491,7 +3491,7 @@ uint32_t flags = 0; - const uint32_t what = s.what; + const uint64_t what = s.what; bool geometryAppliesWithResize = what & layer_state_t::eGeometryAppliesWithResize;