summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2018-11-07 16:27:20 +0800
committerLouis Chang <louischang@google.com>2018-11-08 10:28:54 +0800
commitd17c6571e0f0a3bd9b3b6a3eb7c1179bc075e413 (patch)
treeeaba5c290eb20e1a16ceaef5ab51d452e13a3ae9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent44f74d111f08704cae5a10b6c03db78748419816 (diff)
Fix app launch time regression
An idle now message was scheduled when an activity paused completed and added to stopping list. The message was then executed before resuming current top activity (waiting for top activity process to be attached). We sent a power hint to notify the launch has ended due to there was no activities in resumed state, which degraded the launch performance. Get the resumed activity from focused stack. If the focused stack is not null or not empty, there should have some activities resuming or resumed. Check if these activities are idled. Bug: 118885508 Test: atest cold-dropcache-test Change-Id: I88a2b16504fe030dd57e910f29ca15adac30d2ce
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions