diff options
author | Igor Murashkin <iam@google.com> | 2018-11-07 15:54:18 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2018-11-29 11:30:32 -0800 |
commit | c0b47e4e3c6b1f90a1a7600975df842bbfc24ea4 (patch) | |
tree | f02cf08de7c85608adf8defe547b65d9d64effe0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 9ebc59e956dae017cb519c61277c56ecc2875b57 (diff) |
wm: Add ActivityMetricsLaunchObserverRegistry
Public(@hide)-visibility app sequence launch events.
Anything in system_server can use this new API to subscribe to
the ActivityMetricsLaunchObserver from the ActivityTaskManagerInternal
LocalService.
Also change AMLO to expose ActivityRecordProto as a byte[]; the previous
parameter was ActivityRecord, which is package-private.
Also add systrace for measuring performance of the AMLO callbacks
(seems to be about ~250us on a marlin-userdebug; mostly because of the
protobuf serialization).
Test: atest WmTests:ActivityMetricsLaunchObserverTests
Bug: 72170747
Bug: 112680320
Change-Id: Icc07b727b50438bdd65bb01978e15d839809948b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions