summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager2.cpp
diff options
context:
space:
mode:
author Kazuki Takise <takise@google.com> 2025-03-17 14:39:07 +0900
committer Kazuki Takise <takise@google.com> 2025-03-18 09:36:16 +0900
commit97ec86e906899e5af6d71dc9b2b530608ea48813 (patch)
tree58f8e60f3f8e5338de4e404daff9fb88d860e42a /libs/androidfw/AssetManager2.cpp
parent6fcbeebd600578dfc2ce89d12701528400f95799 (diff)
Fix NPE in adding/removing presentation
In automated testing, there seem to be some cases where a new transition gets created for a presentation but immediately gets aborted without moving to the collecting state (e.g. when sysui gets killed or crashed when running a test, in which case no transition player exists). This change adds a check whether a display of interest is newly added in the collecting transition in this operation. Flag: com.android.window.flags.enable_presentation_for_connected_displays Bug: 404107800 Test: PresentationTest Change-Id: Icea03ae491c77b0c7e642ca822372d9999ed6916
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions