diff options
| author | 2022-04-21 00:26:47 -0600 | |
|---|---|---|
| committer | 2022-04-25 19:08:54 +0800 | |
| commit | 4a263005499369c660b01af63a616eb5c20e49c5 (patch) | |
| tree | 07c7667adec068595a8e27b85051558ba3b3a775 /libs/androidfw/StringPool.cpp | |
| parent | 0b91be7283d9221e5f548c3b6ae2c07135d2ee2b (diff) | |
Reduce overhead of activity launch observer
The cost of writing ActivityRecordProto is heavy. Especially
it executes in window manager's lock.
Since the usage of proto was removed. The callback interface
is simplified to only send id and name. Though currently there
is no use case, it is more accurate to associate different launch
sequence because the assumption "only one start at a time" is not
true anymore since multi-window/area/display support.
Bug: 229822111
Test: atest ActivityMetricsLaunchObserverTests
Change-Id: I6a151e72616fd4cf7a2e17d3c7f92aee8605c485
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions