Move the majority of lockIcon touch handling out of NSWVC
There's no need to route the touches through NotificationShadeWindowViewController unless the device is dozing and we want to make sure the lock icon view controller is able to handle the longpress during the aodDefermentState (AOD2 when we start transitioning to doze. This doesn't include pulsing). As part of this separation, now NSWVC will handle the swipe up gesture from the lock icon view. Fixes: 229696938 Bug: 299139636 Test: atest NotificationShadeWindowViewControllerTest Test: atest LockIconViewControllerTest Test: manually swipe up on the lock icon (from a device with UDFPS enrolled), and see that the bouncer will show. Similarly, user can swipe up on the unlock icon to show the bouncer. Test: manually test longpress on lock icon from AOD and AOD2 Change-Id: Iff28b99770d37908b4ee40de846276a3d08f5978
Loading
Please register or sign in to comment