summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBernardo Rufino <brufino@google.com>2020-04-29 11:40:07 +0100
committerBernardo Rufino <brufino@google.com>2020-04-29 17:14:34 +0100
commit372a4b3b26b9b4e6444ac423fef237d497b6dd5b (patch)
treef21cdf5c909d6a4612c7f2e6398bfbd756ee48e0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentedea65c7bd6e51ff67211327d490adabc89b00ef (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