diff options
author | 2025-01-03 22:54:05 +0000 | |
---|---|---|
committer | 2025-01-03 22:58:43 +0000 | |
commit | ca7ced38ae324f1f2e81559aaf302bf974e2b366 (patch) | |
tree | 8cd684809bc116c005712da388b102dc131a28bf /libs/binder/Parcel.cpp | |
parent | 38a4ab9f6e7a58abefb2f4f0f2672f1cf51885bd (diff) |
Cleanup GraphicsEnv::setAngleInfo()
Cleanup some minor nits and performance issues in
GraphicsEnv::setAngleInfo():
1. Make the paramater `eglFeatures` a reference.
* This avoids the copy of the std::vector that's currently done every
function call.
2. Remove `std::move()` calls on `const` values.
* std::move() has no effect on const values, resulting in a copy
anyway.
Bug: 372694741
Test: CQ
Change-Id: Id774e8c5aa06b966d04213251c195055e271687b
Diffstat (limited to 'libs/binder/Parcel.cpp')
0 files changed, 0 insertions, 0 deletions