summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2020-03-29 01:17:08 +0800
committerTiger Huang <tigerhuang@google.com>2020-04-07 16:05:40 +0800
commit0426a3365011309181fbc179ddff87bb6cd974bd (patch)
treefaad5b1b99e61ecf6b434cae4f5ea611be85d9ed /tools/aapt2/java/JavaClassGenerator.cpp
parent9cea19d887862c66ae2518a3e6cec4b5fd2927f5 (diff)
Update controls after addToDisplay/relayout before dispatching insets
A window might request to control insets before it is added to WM and expect the first dispatched WindowInsets as requested. The first insets state returned from addToDisplay or relayout might be not expected if the window just become thecontrol target in the function. With this CL, WM can return controls from addToDisplay and relayout, so that the client can apply controls immediately, and update controlled insets sources before dispatching the insets to the view hierarchy. This enaures the insets dispatched are up-to-date. Fix: 150756571 Test: atest WindowInsetsControllerTests RelayoutPerfTest WindowAddRemovePerfTest Change-Id: Ib78c24beb7af5a54ad78935c3ddb260ef9645212
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions