From 9550193b1a27a324fd6704a2018d45d677335e2a Mon Sep 17 00:00:00 2001 From: Pardis Beikzadeh Date: Wed, 17 Jun 2020 15:38:08 -0700 Subject: [PATCH] Add rotary support to the nofitication shade. - Add a FocusArea - Add a FocusParkingView The FocusArea's main contribution in this case is to allow OEM customizability of the focus highlight for the rotary feature. The UI was already in a rotary compatible state without it (i.e. I could navigate around even before adding this change) BUG: 157937087 Test: manual Change-Id: If02f9e73ca3a941fc783a63924135a2f78b12723 --- .../res/layout/notification_center_activity.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/CarSystemUI/res/layout/notification_center_activity.xml b/packages/CarSystemUI/res/layout/notification_center_activity.xml index 0af74c4462a67..0e45e43132de2 100644 --- a/packages/CarSystemUI/res/layout/notification_center_activity.xml +++ b/packages/CarSystemUI/res/layout/notification_center_activity.xml @@ -22,6 +22,10 @@ android:layout_height="match_parent" android:background="@color/notification_shade_background_color"> + + - + app:layout_constraintTop_toTopOf="parent"> + +