diff options
author | Tiger Huang <tigerhuang@google.com> | 2020-05-08 19:39:18 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2020-05-08 19:39:18 +0800 |
commit | 57ea97e14d6b877b7d7e1285d25076ef76793eca (patch) | |
tree | bb7693b22ae6d3ad0c06ef7465b0d931800f3561 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d668678adba58cc041de6985b012d575cba87f6f (diff) |
Ensure addWindow/relayoutWindow won't return stale controls
In some cases, these functions would early return. For example, the
client might try to relayout a window which has been removed. We need
to make sure outActiveControls doesn't contain stale controls in such
cases.
This CL also makes outActiveControls non-null.
Fix: 155857511
Test: atest --iterations 20 SessionLifecycleTest#
testDatasetAuthResponseWhileAutofilledAppIsLifecycled
Change-Id: I88a316374faa24233eda8e13902c48ed19c871aa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions