summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2020-02-10 18:12:04 +0800
committerTiger Huang <tigerhuang@google.com>2020-02-10 18:12:04 +0800
commit3b3537e0a18844b479f9585eb9589c61d9418665 (patch)
tree38622ca21c24d2af4f83fadad5f5fe1cf3555ccd /tools/aapt2/java/JavaClassGenerator_test.cpp
parente7f3f6946141387df1fbd8dba127bcb463d66a1a (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions