summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author AndrĂ¡s Kurucz <kurucz@google.com> 2023-04-14 16:49:31 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2023-04-17 20:13:30 +0000
commit6c52d0e7bbd34e1b3eb499c8cdca6e608343d81e (patch)
treea95a803e5ffa3e39930dc7eea483d56b9b642d58 /libs/androidfw/AttributeResolution.cpp
parent41b888f32c83452f1401d6febc0176dacba10819 (diff)
Reset NSSL translationY after a transision gets cancelled
We update the translationY of the NSSL upon multiple transitions. If the Occluded -> LockScreen transition is cancelled, there is no other transition that is taking over. It causes the NSSL to get stuck with some negative translateY value. This caused the Notifications and the NotificationShelf to be shifted slightly upwards. This fix resets the translation to 0 if the transition was interrupted and not completed successfully. Fixes: 273591201 Test: atest OccludedToLockscreenTransitionViewModelTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3a23e91c1a76f22ac0da52e942e405525c539b2a) Merged-In: If0c162a7f1b8a2cf3d261692f5ce333331c36a7b Change-Id: If0c162a7f1b8a2cf3d261692f5ce333331c36a7b
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions