Skip to content
Commit 3b3537e0 authored by Tiger Huang's avatar Tiger Huang
Browse files

Make sure the control target has a control

The CL only allows a target to be the control target if the insets
source provider has a control. This prevents the arrays in
InsetsStateController.mControlTargetTypeMap contains a type which
doesn't have a control. If an insets source provider haven't had
a window yet while we are updating control for target, we let the
target be the pending control target, and then use it to update again
while the provider get the window.

Bug: 149121559
Test: Manual test
Change-Id: I3c63e892f870f4daca667106d935e05423dfece8
parent e7f3f694
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