commit | 48a75cbd675117471f7547c84e00833c32b4a677 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Wed Jan 29 12:15:29 2020 -0800 |
committer | Felipe Leme <felipeal@google.com> | Mon Feb 03 12:34:35 2020 -0800 |
tree | 2267e9bbe35228fb0d8966d8b29503ecb4f356a2 | |
parent | f688df3ff069f840d5296e6d21586fe8d1df4175 [diff] |
Set a shorter timeout for logging a warn on slow IUserSwitchObservers. On automotive, it helps identify slow services. For example: W ActivityManager: User switch delayed: observer #1 WallpaperManagerService sent result after 1608 ms Without this change, the WallpaperManagerService wouldn't be logged because the "give up" timeout is 3000ms. Bug: 145558164 Bug: 144801993 Test: manual verification (see logcat above) Change-Id: I68e3b7220bbac25075e4fd4dad83c3a26b88940c