summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2018-09-06 12:49:24 -0700
committerVishnu Nair <vishnun@google.com>2018-09-06 12:49:24 -0700
commit41fde49813ffb524018bc4c6f546a78e5704f1f1 (patch)
tree7de23086eda1f97e5f34acb4724bffe39335937c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent900fa92042ba1f1e28280f4df1231b3ede65274d (diff)
Reset launch start times when removing a process
When removing an exiting process that is running foreground activities, clear the launch times for the current windowing mode. When an app process is removed, activities from the process may be relaunched. In the case of forceStopPackageLocked the activities are finished before any window is drawn, and the launch time is not cleared. This will be incorrectly used to calculate launch time for the next launched activity launched in the same windowing mode. Bug: 80084651 Test: adb shell am start -W com.amazon.mShop.android.shopping/com.amazon.mShop.home.HomeActivity && sleep 1 && adb shell am force-stop com.amazon.mShop.android.shopping Change-Id: I2c4f0716c922baa1ad209b4ea1fa7ce366e0e108
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions