commit | 8ad94cb6077b8f2236cfd67e934e29943fcf679d | [log] [tgz] |
---|---|---|
author | Aaron Liu <aaronjli@google.com> | Wed Nov 15 11:20:19 2023 -0800 |
committer | Aaron Liu <aaronjli@google.com> | Wed Nov 15 12:51:15 2023 -0800 |
tree | 3a24e81b22d3d831bb44af9099bacd9b5a2282ca | |
parent | 7820d50e0987208c7588b7bf7ac2a75c422f2386 [diff] |
Register contentObserver on bg thread. Perfetto trace shows thats that this registration is blocking the main thread for 64 ms. We can eliminate this blocking call by putting it on a bg thread. Fixes: 310584954 Test: atest KeyguardClockSwitchControllerTest Flag: NONE Change-Id: I8c134e23dc430729a965bb2ba517c525a438a5f7