diff options
| author | 2022-11-09 17:45:00 +0000 | |
|---|---|---|
| committer | 2022-11-09 17:55:27 +0000 | |
| commit | 27421aca2c6ecdd72f32c2513dbb06abf5367add (patch) | |
| tree | 3ee728a6527fb66fb39461b7410e1b2cd2e29b1b /libs/androidfw/StringPool.cpp | |
| parent | e59a2e4c345876b6016ffca0793966fc2f469498 (diff) | |
Add trace logs to UserSwitchObserver callbacks.
UserSwitchObservers have a reply mechanism to know when the
observers finish doing their job on onUserSwitching event.
These callbacks were not shown on perfetto traces. Adding these
will be helpful to see when each callback is called while
investigating perfetto traces. Note that these traces won't be able
to show the duration of the work done by the observers since beginning
and end calls can be on different threads. But they will mark the
callbacks on the timetable of perfetto ui.
Bug: 256604395
Test: N/A
Change-Id: Ib1c76554caa472da99e86f6368611d0d251c25db
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions