summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2024-12-04 21:36:26 +0000
committer Nicolò Mazzucato <nicomazz@google.com> 2024-12-09 13:14:53 +0000
commit0b0c24c5a085982a7613e1650543ba9b24c387e1 (patch)
tree96c2446ac6d2ec06d09e6cfe3e0904378a61bde8 /libs/androidfw/StringPool.cpp
parent5054fff0ca9fade624543369be3fae1f4a7a0a62 (diff)
Use reparentToDisplayId to move the shade between displays
This uses the new API from display manager to reparent non-activity windows without triggering onAttached/Detached. As SysUI heavily relies on getting those callbacks only once (for some windows), this makes the flexiglass refactor work without additional changes even when the shade window moves. Also, the shade move is much faster now: from the 600ms of the previous approach to the <100ms of the current one (as all "onAttached" callbacks are not being triggered) After the change of window, only a configuration change in the shade root view is received now, and propagated though configurationForwarder to the other classes interested. Bug: 362719719 Bug: 381258683 Bug: 381075014 Test: ShadeDisplaysInteractorTest Flag: com.android.systemui.shade_window_goes_around Flag: com.android.window.flags.reparent_window_token_api Change-Id: I85dbc219eea894ec5c9e81fe378cdd5cc361cfde
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions