Skip to content
Commit 57ea97e1 authored by Tiger Huang's avatar Tiger Huang
Browse files

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
parent d668678a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment