diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-10-09 20:54:26 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-10-21 23:20:02 +0800 |
commit | 1c5d72eeca156cec075d881a676b4915bc4235a8 (patch) | |
tree | b29d0f53a568ea107959b6aeaac127e85c4948f0 /keystore/java/android/security/KeyChain.java | |
parent | 8adf1652b9bf03b02b994afb3c02fc75251b2c7f (diff) |
Report launch time on the last started activity
Assume:
L is "Activity launched".
D is "Window drawn/displayed".
T is a trampoline activity (e.g. a splash screen).
M is the main activity.
An application may be designed as:
L(T) -> L(M) -> D(T) -> D(M)
Originally we will report the launch time on D(T).
Now if L(M) happens before D(T), then it is supposed
to be a continuous launch sequence and report the
launch time on D(M).
Bug: 132736359
Test: atest ActivityMetricsLoggerTests
atest ActivityMetricsLaunchObserverTests# \
testOnActivityLaunchFinishedTrampoline
Change-Id: I9ffd3b94d76831572ea961a8dcbf9d760a617430
Diffstat (limited to 'keystore/java/android/security/KeyChain.java')
0 files changed, 0 insertions, 0 deletions