Collapse the notification shade when closing the QS using the back button in split shade mode.

CentralSurfacesImpl.onBackPressed() was collapsing the QS to QQS on the first back button tap, but when in split shade mode closing the Qs does nothing. Now NotificationPanelViewController.animateCloseQs() will run collapsePanel() to close the entire panel if mSplitShadeEnabled.

Fixes: 234306461
Test: manually checking the notification panel closes with one back button tap
Test: NotificationPanelViewControllerTest
Change-Id: I99d8b06846214344011d5ee6f590193594d6e247
3 files changed