commit | aaf4c5e47b0876f46b5d3151b4068a32d0bfdf27 | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Fri Mar 27 13:29:15 2020 -0400 |
committer | Fabian Kozynski <kozynski@google.com> | Fri Mar 27 13:32:49 2020 -0400 |
tree | 9a85966d39b425075a49ea2723352fad33afe95d | |
parent | 5cb264d9df806f3433d4065d8d9d7ac8c4e96269 [diff] |
Use bg thread for BroadcastDispatcher registering There is no need for the broadcastdispatcher to register in the main thread. Moving to the bg thread reduces the chance of our main thread being busy when many classes subscribe in a short period of time. Test: manual (logs show BroadcastDispatcher is receiving broadcasts) Test: atest UserBroadcastDispatcherTest Fixes: 151684085 Change-Id: Iac6fd9e3b9f7bed3879620b4f262cc68f8ffdcd3