summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author MingWei <mingweiliao@google.com> 2023-12-20 14:13:45 +0000
committer MingWei <mingweiliao@google.com> 2023-12-27 15:09:28 +0000
commit34191ff70d230a4d84627180d572cb297899fe9e (patch)
tree4121ad9ec1625c4d7960f850e1a5501777498a3a /libs/androidfw/FileStream.cpp
parent78478fcb0ec881a881f2d9af859076dbc5fcf422 (diff)
Prepare ViewStructures on UiThread
1. onProvideContentCaptureStructure should always be called from the UiThread to prevent concurrrent issue. Therefore, notifyContentCaptureEvents needs to prepare ViewStructures on the UiThread first before sending event out. 2. Fork MainContentCaptureSessionV2 to hold the logic of running parts of the operations in the background thread. And let ContentCaptureManager assign different implementation dependes on the flag. This should reduce the potential impact on the control arm. Test: CtsContentCaptureServiceTestCases, MainContentCaptureSessionTest. BUG: 309411951 Change-Id: I6efee6e94e2b9857b2ad93036aa28dcd5d3a263c
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions