summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2021-02-17 13:07:15 -0800
committerEvan Rosky <erosky@google.com>2021-03-03 12:33:25 -0800
commita841c1545934632c4eee8a0eeb52eb4908b8f4de (patch)
treee4ea78af3661b1a4da3561bf35c0d92acd5747c5 /tools/aapt2/java/JavaClassGenerator.cpp
parent1c2df9c56243e354d85a7d8c2e0a59edfde94b57 (diff)
Use clientVisibility and visibleRequested model for wallpaper
This is to maintain similarity to ActivityRecord. ClientVisiblility is now moved up to WindowToken and shared. VisibleRequested is still separated since other windowtokens don't support it. This lets us replace wallpaper-specific logic like deferHideWallpaper in favor of the same visibility model as activity. This model is effectively: X calls setVisibility(v) sets visibleRequested = v if there's a transition, only commit the visibility when appearing. othrewise, commit here. If there was an ongoing transition, once the transition is over, call commitVisibility. Bug: 180143925 Test: Everything should behave the same and existing test should pass atest WallpaperControllerTests Change-Id: I7bd216922983c6bca5a3b39e5a09c55889f788ee
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions