diff options
| author | 2023-08-31 11:31:31 +0100 | |
|---|---|---|
| committer | 2023-09-20 12:50:39 +0100 | |
| commit | f726ce4fe200c160b47e8e4c0134f91dffc1ab11 (patch) | |
| tree | b5091b74b0e7aca03070fea94e91731a85721ec0 /api/api.go | |
| parent | 3773023252dfdeabcf6dd16ac84acc4ce0883426 (diff) | |
Post UserTracker callbacks to background
UserTracker has been blocking binder thread while notifying the
callbacks. We expect this process to be asynchronious. It's impossible
to reuse current implementations because there is problem with a deadlock if the callbacks processing runs on the same thread as the callback (which is blocked by the latch). Before the change it works because the callbacks are processed on a binder thread which is always distinct. This is the issue that this feature addresses.
Test: atest UserTrackerImplTest
Test: atest OverviewProxyServiceTest
Test: atest KeyguardUpdateMonitorTest
Test: atest UserTrackerImplReceiveTest
Fixes: 283101304
Change-Id: I47cbc755f1be0025aec00f5ff1ee419cf5a06a29
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions