summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2020-05-29 14:39:20 -0700
committerVishnu Nair <vishnun@google.com>2020-05-29 21:59:24 +0000
commit06cff30935710246784ffb3a66fbd743f8a678fb (patch)
treeb2c909ff0f8846f7c0f8a683d38bc3506180bedd /tools/aapt2/java/JavaClassGenerator_test.cpp
parent200e84a8de9fba6ad3a83800c6bdcc8c44d25d92 (diff)
Remove additional sf transaction when constructing a leash
The leash needs to be visible on creation otherwise when reparenting the leash, the leashed layer may be hidden for a moment. This is because Transaction#show can be deferred but Transaction#reparent cannot. This change adds a layer flag to allow creating effect layers without a color fill so we can avoid an additional sf transaction. Fixes: 157646690 Test: go/wm-smoke Test: atest SurfaceFlinger_test Change-Id: I3d8a4f4820d7b8fb05daab697c25cff8def612c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions