diff options
author | John Reck <jreck@google.com> | 2016-06-27 13:27:23 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-10-10 13:36:36 -0700 |
commit | 85ddb2df2f41eb4b442669d4a2528a4e346e2557 (patch) | |
tree | bf1ab4387396f5d968cf51b0c053b3beba5fde39 /tools/aapt2/diff/Diff.cpp | |
parent | 66f15cc01befadf7ce19629680798b31046978c3 (diff) |
Fix SurfaceViewPositionListener race bugs
Bug: 29628138
1: Make windowPositionLost synchronous as that's
what the Java side was expecting
2: Make the listener ref counted as otherwise
there's a race condition with the GC, which could
end up with use-after-frees
3: Ensure that all position updates are invoked
prior to frame completion
Change-Id: Iedbc017f611ba2878a49b4586612f79249ca2fe3
(cherry picked from commit 7b570deea65bc7ac417a26ce3e4103bcef30e957)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions