commit | b3ca38fb99dba641afd45295e6ab4ea2642197d3 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Fri Apr 17 14:14:33 2020 -0700 |
committer | Robert Carr <racarr@google.com> | Fri Apr 17 14:14:33 2020 -0700 |
tree | 97a72caf09177c4f3d213c81b8d6f39b269be87f | |
parent | adf530fc264267260aae06231e4be59c74f30a36 [diff] |
SurfaceView: Remove dead code While debugging SurfaceView transaction usage I noticed this code was unconditionally dead. Notice the else statement only contains the single if statement within, so it could be written as else-if. But then notice the condition of this rewritten else-if is contained within the original if and so it can never be entered. Bug: 153120755 Test: Existing tests pass Change-Id: I032b17911a9c71a1e3d09e3933e6f6a3d86dffb6