diff options
| author | 2018-11-15 16:26:27 -0800 | |
|---|---|---|
| committer | 2018-11-26 13:50:28 -0800 | |
| commit | 61626f2e8172ceea4e466eedf1e134d927f55b61 (patch) | |
| tree | bde016490778f53f1ed6d307bd20e35e0971ff7f /services/inputflinger/InputReader.cpp | |
| parent | 2df4fb0e4ec2cbcf0339269e894eb435c353f44a (diff) | |
Fixes for parentless layers
1. When a layer is removed, it needs to latch a buffer before the buffer
can be released.
2. If a layer is removed from current state, it needs to get re-added
back to current state when it gets reparented to a layer that is not
removed from current state
3. If a layer is added as a child to a layer that has been removed from
current state, the layer adding needs to succeed, but the layer needs to
be automatically set as removed from current state.
Bug: 111297488
Test: Test with updated ActivityView that has a SurfaceControl that has
no reference in SF tree
Change-Id: I8b723666964c61aaf7119b60ac256d19f85732b0
Diffstat (limited to 'services/inputflinger/InputReader.cpp')
0 files changed, 0 insertions, 0 deletions