commit | 5e9a43e006a185fa43409c7fdb6c32d5bb786e70 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Thu May 03 14:27:39 2018 -0700 |
committer | Chia-I Wu <olv@google.com> | Fri May 04 15:29:33 2018 -0700 |
tree | 973d58ea5fe5aed8271962386f86db8591300187 | |
parent | 1148147c4c06d9d5390c7b7c8b0ca5e0c245fc4a [diff] |
surfaceflinger: remove hwcId < 0 path in doComposeSurfaces Remove the check for hwcId and re-indent the code. hwcId is never less than zero. Even if it did, getCompositionType(DISPLAY_ID_INVALID) would return HWC2::Composition::Client and it would still work. The motivation is that the hwcId < 0 path has gone outdated since the introduction of legacy sRGB saturation matrix. Bug: 78891890 Test: virtual displays Change-Id: I6f3e779bc0f8ef21d33ce7de49ddbfa95757e473