summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2022-12-06 17:59:32 +0000
committer Nicolò Mazzucato <nicomazz@google.com> 2022-12-06 20:27:10 +0000
commitf980a759c6543f0e1ebd5cce8955cbd9f8eebaff (patch)
tree1c9679ab1258f7008dc560d23e21e870a0e734f4 /libs/androidfw/AssetsProvider.cpp
parent7700e677f41a47e586246f1ed101720822ec2fd0 (diff)
Fix black frame when unfold animation starts
The dark scrim was added with a value of 0f (that means, completely black), and then updated in the background thread with a value of 1f (completely transparent). This was ok when unfolding (as the overlay needed to be black at first), but not when folding (as it needs to be transparent at first) When the background thread was slow, this was causing one completely black frame at the beginning of the animation. Bug: 261560634 Test: start unfold animation repeatedly Change-Id: I98e17d0204cb4d75a85d3c31c6a6faa8e58466f0
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions