diff options
author | Bernardo Rufino <brufino@google.com> | 2020-04-29 11:40:07 +0100 |
---|---|---|
committer | Bernardo Rufino <brufino@google.com> | 2020-04-29 17:14:34 +0100 |
commit | 372a4b3b26b9b4e6444ac423fef237d497b6dd5b (patch) | |
tree | f21cdf5c909d6a4612c7f2e6398bfbd756ee48e0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | edea65c7bd6e51ff67211327d490adabc89b00ef (diff) |
Call proc.setLastActivityLaunchTime() in realStartActivityLocked()
..after we set the time. This is because BAL's grace period stopped
working after that call was removed in ag/9536366 (since without the
method call ActivityRecord.lastLaunchTime would be 0).
I'm not familiar with this area, other than to say this fixes the bug
linked. I'm putting this up given we're blocking some legitimate
activity starts such as starts from the launcher. Please let me know if
this should be a different fix!
Bug: 152621860
Test: atest BackgroundActivityLaunchTest#testBackgroundActivityNotBlockedWithinGracePeriod
Change-Id: I1a329f6a044f5aa491474f5be538991ede0f8f53
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions