Prevent falling into OtherActivityInputConsumer when over lockscreen

- When opening the emergency dialer from the bouncer, there's a brief
  period where notificationPanelExpanded=false and occluded=false which
  currently means canStartSystemGesture=true and
  isKeyguardShowingOccluded=false, which falls through to other activity
  input consumer.  In this state, we can't properly finish the gesture
  stream because Launcher never shows (it's behind the lockscreen)
  and the recents animation never finishes.

Bug: 242704576
Test: atest NexusLauncherTests
Change-Id: I7795abe0aebefca2d42998a672abfd12f951d501
(cherry picked from commit f6d75c98a94d173ae59afc9bd126d1e72d1b28fa)
Merged-In: I7795abe0aebefca2d42998a672abfd12f951d501
1 file changed