Resetting long-press effect properties if the activity launch animation
is due to a long-press effect.
The onActivityLaunchAnimationEnd callback resets long-press effect
properties only if the long-press effect was active. This avoids
artifacts like inconsistent backgrounds when the callback is invoked due
to a non-long-press launch, such as a dialog closing.
Test: atest SystemUITests:QSTileViewImplTest
Test: manual. Turn off the "Quick Settings Visual Haptics Longpress"
flag -> press Bluetooth and/or Internet tiles -> close the opened
dialogs -> verify that the background is consistent
Flag: NONE
Bug: 339250332
Change-Id: Ibaaec2f813dd79629482f86deb8fbaddb3a03488
2 files changed