summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-11-22 13:56:43 -0800
committerRobert Carr <racarr@google.com>2017-11-22 13:56:43 -0800
commit1cafdf8b989b965e201db5839a658768173145ff (patch)
treed1d1a4e03d44a136244f293740138a71b9594ca5 /tools/aapt2/java/JavaClassGenerator.cpp
parent1edf09c99b5aff31b2a9a7d95bef00cf12f50c9f (diff)
Fix removal of IME target.
In the case that the IME target is removed while it is still the IME target we will trigger a layer assignment before updating WindowManagerService#mInputMethodTarget. In general in the new hierarchy model we assume that containers always have SurfaceControl's but this is only true while they are attached to the hierarchy. Since the IME target may stick around otherwise until it's cleared we need to check if it has a surface before using it in this way. Bug: 69669036 Test: go/wm-smoke Change-Id: I296549aba45368ee5e88f6e1224024e6105207dd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions