summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2024-05-16 11:09:50 -0400
committer Miranda Kephart <mkephart@google.com> 2024-05-23 20:39:03 +0000
commita7ec86628d9090d8a1b20571a152ea8b29e94061 (patch)
tree973a46acb03916f5ca0731289d1cc87e76876561 /libs/androidfw/ZipFileRO.cpp
parent4fccc4e1696797f21dc0083f995d64fa25b34a05 (diff)
Add ScreenshotActionsController between provider and viewModel
The asynchronicity of various processes in screenshots/action providers means that we can show actions that are associated with the wrong screenshot (see bug for details). This change removes direct access from the ScreenshotActionProvider to the ScreenshotViewModel, and instead abstracts out the action providers to a ScreenshotActionsController that only updates the ViewModel if the actions are associated with the current "live" screenshot. Bug: 329659738 Bug: 341062985 Fix: 341062985 Flag: com.android.systemui.screenshot_shelf_ui2 Test: manual via taking several screenshots in succession Test: atest ScreenshotActionsControllerTest Merged-In: Ie18396172239b30218372229630da3d3d716406b Change-Id: Ie18396172239b30218372229630da3d3d716406b
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions