summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author dshivangi <dshivangi@google.com> 2024-02-15 12:24:49 +0000
committer Shivangi Dubey <dshivangi@google.com> 2024-02-15 12:41:39 +0000
commit35a57a24182bd977cbfa0d86cd5ec60c15a67b6b (patch)
tree7c12a077ba42588f5b7baae2b56ca7a8c0904eb9 /libs/androidfw/BackupHelpers.cpp
parent4c1bdc28c6d91af5e4bfb0ebd48118150748602a (diff)
Fix incorrectly sized overlay for unfold animation
Currently we are fetching display info every time before adding an overlay. Due to some unknown reason some displays are occasionally(1 out of 3 times) missing from the list of display received from display manager. This resulted in incorrect display layout parameters and hence incorrectly sized unfold overlay animation. After this change we will be fetching the list of displays from display manager only once when the object is initialized. Fixes: 324386469 Test: Flash build locally to device * Fold -> Unfold the device multiple times * Check if unfold animation is occurring with correct size of overlay Flag: ACONFIG fold_lock_setting_enabled TRUNKFOOD Change-Id: Icdc028aac49a2da8361c25ee5906bfcd40582ec7
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions