Rotary enable notification center
Support rotary in the notification center:
- Add a dismiss button on dismissable notifications and groups
consisting entirely of dismissible notifications.
- Hide the dismiss button except when the notification or group has
focus, i.e. when the focus is on the card or a button within the
card.
- Make the only focusable elements for a collapsed group be the card
and the dismiss button, with the former expanding the group. This
corresponds to the touch interceptor view which blocks taps on the
contents of a collapsed notification.
Test: atest CarNotificationRoboTests
Bug: 157937087
Change-Id: I534d609c9ca5430e41f2c27f2bdea24c381d5fe9
30 files changed