summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Qijing Yao <yaoqq@google.com> 2025-02-10 21:22:29 +0900
committer Qijing Yao <yaoqq@google.com> 2025-02-14 16:07:17 +0900
commit14baad011da20fa1a79edbe4d1b77607768622f4 (patch)
tree5326f4bfbba38a9c15970ffdd2c7ab66e1a24291 /libs/androidfw/ResourceTimer.cpp
parente018f198e06d765259c81791fbdb940c32f91ed9 (diff)
Send topology to newly registered listener
This commit adds a mechanism to send the current `DisplayTopology` to newly registered `OnDisplaysChangedListener` instances. When a listener is added via `addDisplayWindowListener`, it now receives a call to `onTopologyChanged` with the current `DisplayTopology`. This ensures that listeners are immediately aware of the display topology upon registration, without having to wait for a topology change event. Bug: 383069173 Test: manual and atest Flag: com.android.window.flags.enable_connected_displays_window_drag Change-Id: I3c578de2786c17257cf6cec0e30efdf7832efa5f
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions