summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatthew Ng <ngmatthew@google.com>2018-01-12 17:13:13 -0800
committerMatthew Ng <ngmatthew@google.com>2018-01-17 14:39:18 -0800
commit53e66b2f2920272ce0c443107ba882993df0eb8a (patch)
tree68ebc4aa0361bcc5dd93abed9097e8c9c1657f60 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente2861da8ef0eba65c1bb9d5f67380884e2ead939 (diff)
Prevent getting from transit when interesting window is exiting
AppWindowToken determines when alldrawn state is done to then choose the transit animation depending on if the next window has a wallpaper or not. In terms of launcher, it has -1 window without a wallpaper while the main window has a wallpaper. Meaning that sometimes quickly going home, services thinks the main window of launcher is exiting and so it is not considered interesting but the -1 window is drawn and interesting. Then the system thinks going to launcher has no wallpaper and chooses the wrong animation. To fix this issue, assume that if there is a base window (not splash or starting window) then there is always an interesting window. All the other windows can enumerate the interesting count until all the windows including the main window is drawn and ready. This will allow launcher to wait for the main window to exit and complete drawing before choosing the next transit animation. Test: manual - see bugs below Change-Id: I4839a6f706fa43d295524a5e252a62e8babd1e7d Fixes: 65304663 Fixes: 65559439
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions