summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-03-23 16:14:15 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-03-29 15:32:33 +0800
commitf742982a75eda04b2bb8b477415474d990e51234 (patch)
tree045fe156819874bfa84b36bd4f78331f82799c73 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9c1d00870e56fbc6b6d442ed6dd408702521894a (diff)
Handle launch time while device is sleeping
The major case is to launch activity from keyguard. The activity can be invisible until the keyguard is gone. Because it is unknown that whether the activity will be visible, this change skips the cancellation of launch time tracker if visibility is changed when launching. And if after 3s, there are still no activity will be drawn, the tracker will be canceled (to avoid endless trace). Fixes: 183726381 Test: atest ActivityMetricsLaunchObserverTests# \ testOnActivityLaunchWhileSleeping Change-Id: Ic590ad75de987d40814dc233f36a53a72386091c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions