commit | 03a99372fa2ffa7db6f52c9f7582e9066fa5f272 | [log] [tgz] |
---|---|---|
author | Jing Ji <jji@google.com> | Fri Mar 12 02:52:10 2021 -0800 |
committer | Jing Ji <jji@google.com> | Fri Mar 12 12:34:55 2021 -0800 |
tree | 5c028af7b2ea9c0f7a2a2033f3b3d4cc8c8646a1 | |
parent | d2a152ebcbca42a3b9b4fb1d3c33e13cd9d78578 [diff] |
Fix potential negative duration in the ServiceState tracker Use the current time while marking the end of foreground service. Bug: 174786928 Bug: 175024931 Bug: 140997620 Test: atest FrameworksServicesTests:ActivityManagerTest Change-Id: I0061b5ff202d46a3f85b22af42a8a6084151fc64