diff options
author | Wale Ogunwale <ogunwale@google.com> | 2016-10-19 09:53:25 -0700 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2016-10-19 09:53:25 -0700 |
commit | cfca258639f81b33dd60aa9c05dbc4f4190ac11e (patch) | |
tree | 0fec1877adf2a2988d61d9376a55ba1b292f5232 /tools/aapt2/diff/Diff.cpp | |
parent | c69694abbdbfa3f0bedb034e7cc86823a72ff781 (diff) |
Fixed monkey test failure
Avoid duplicate attempt to remove WindowToken from its parent
container when removeImmediately is called by first removing the
token from the display before calling super.removeImmediately
which only tries to remove the child from the parent container
if it is still attached to the parent.
Also, added test for the failure case the monkey test was
triggering.
Bug: 32239922
Test: WindowTokenTests.testChildRemoval passes
Change-Id: I4153669d18260d956c4b570944d2f48516d692ac
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions