Use withEndAction for unlocked screen off animation end action.

The UnlockedScreenOffAnimationController's ViewPropertyAnimator end listener was getting triggered when the KeyguardVisibilityHelper cancelled all animations on the keyguard view. This was inadvertently triggering the screen off onAnimationEnd method, which set the status bar state on the NPVC.

Fixes: 231334474
Test: set screen off duration to 2000, wake and unlock while end of screen off animation is still running
Change-Id: I9bfa4c52a17c26df525616955e300d93a9acd1ab
2 files changed