summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2018-06-08 15:54:08 +0800
committerRiddle Hsu <riddlehsu@google.com>2018-06-20 05:09:32 +0000
commit95459d3e6e5b057c68bb59f04500f4b2fea81cc1 (patch)
tree7c59584c191903d0be609f3a12d0794d8b73e9a9 /tools/aapt2/java/JavaClassGenerator.cpp
parentacda839b9e3fa12d0f0b40ffd8ec3708ad0a6038 (diff)
Ensure consistent attach/detach callback on transient view
- Not allow to add as transient view if it still has a parent. (The normal usage of addTransientView should be after removeView) - If a view container is not attached, its transient view should not be attached. - If a transient view is already detached from parent, no need to detach again when removing the transient view. Bug: 109814657 Test: atest FrameworksCoreTests:ViewGroupTransientViewTest Change-Id: I243cc292e4aaba987d48eeb202559de866a8c208
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions