diff options
author | 2021-03-29 14:49:35 -0400 | |
---|---|---|
committer | 2021-04-12 13:36:03 +0000 | |
commit | e55d11e11a016c6c9396002accf9cee022dbfeb5 (patch) | |
tree | 44e7bb23403a7ea1541b9718f6d97c195d3fe3e3 /services/surfaceflinger/ClientCache.cpp | |
parent | 219aba115bed9ba24397bed5231e4886b7390b25 (diff) |
Remove Flattener::mLayersHash
Bug:163076219
Test: make
This field is computed and then immediately returned by another method.
But it is never read again until it has been rewritten. The client of
Flattener::flattenLayers stores the value, but this class doesn't need
to store it, too. Remove the field, and switch updateLayersHash to
computeLayersHash, which simply computes and returns the value. This is
simpler and clearer.
Change-Id: I065f1968bbe66e94180c57c54ba4f32a3a8ddf40
Diffstat (limited to 'services/surfaceflinger/ClientCache.cpp')
0 files changed, 0 insertions, 0 deletions