Loading packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -131,6 +131,8 @@ public class CarStatusBar extends StatusBar implements // The container for the notifications. // The container for the notifications. private CarNotificationView mNotificationView; private CarNotificationView mNotificationView; private RecyclerView mNotificationList; private RecyclerView mNotificationList; // The controller for the notification view. private NotificationViewController mNotificationViewController; // The state of if the notification list is currently showing the bottom. // The state of if the notification list is currently showing the bottom. private boolean mNotificationListAtBottom; private boolean mNotificationListAtBottom; // Was the notification list at the bottom when the user first touched the screen // Was the notification list at the bottom when the user first touched the screen Loading Loading @@ -544,7 +546,7 @@ public class CarStatusBar extends StatusBar implements } } }); }); NotificationViewController mNotificationViewController = new NotificationViewController( mNotificationViewController = new NotificationViewController( mNotificationView, mNotificationView, PreprocessingManager.getInstance(mContext), PreprocessingManager.getInstance(mContext), carNotificationListener, carNotificationListener, Loading Loading @@ -651,9 +653,11 @@ public class CarStatusBar extends StatusBar implements mStatusBarWindowController.setPanelVisible(false); mStatusBarWindowController.setPanelVisible(false); mNotificationView.setVisibility(View.INVISIBLE); mNotificationView.setVisibility(View.INVISIBLE); mNotificationList.setClipBounds(null); mNotificationList.setClipBounds(null); mNotificationViewController.setIsInForeground(false); // let the status bar know that the panel is closed // let the status bar know that the panel is closed setPanelExpanded(false); setPanelExpanded(false); } else { } else { mNotificationViewController.setIsInForeground(true); // let the status bar know that the panel is open // let the status bar know that the panel is open mNotificationView.setVisibleNotificationsAsSeen(); mNotificationView.setVisibleNotificationsAsSeen(); setPanelExpanded(true); setPanelExpanded(true); Loading Loading
packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -131,6 +131,8 @@ public class CarStatusBar extends StatusBar implements // The container for the notifications. // The container for the notifications. private CarNotificationView mNotificationView; private CarNotificationView mNotificationView; private RecyclerView mNotificationList; private RecyclerView mNotificationList; // The controller for the notification view. private NotificationViewController mNotificationViewController; // The state of if the notification list is currently showing the bottom. // The state of if the notification list is currently showing the bottom. private boolean mNotificationListAtBottom; private boolean mNotificationListAtBottom; // Was the notification list at the bottom when the user first touched the screen // Was the notification list at the bottom when the user first touched the screen Loading Loading @@ -544,7 +546,7 @@ public class CarStatusBar extends StatusBar implements } } }); }); NotificationViewController mNotificationViewController = new NotificationViewController( mNotificationViewController = new NotificationViewController( mNotificationView, mNotificationView, PreprocessingManager.getInstance(mContext), PreprocessingManager.getInstance(mContext), carNotificationListener, carNotificationListener, Loading Loading @@ -651,9 +653,11 @@ public class CarStatusBar extends StatusBar implements mStatusBarWindowController.setPanelVisible(false); mStatusBarWindowController.setPanelVisible(false); mNotificationView.setVisibility(View.INVISIBLE); mNotificationView.setVisibility(View.INVISIBLE); mNotificationList.setClipBounds(null); mNotificationList.setClipBounds(null); mNotificationViewController.setIsInForeground(false); // let the status bar know that the panel is closed // let the status bar know that the panel is closed setPanelExpanded(false); setPanelExpanded(false); } else { } else { mNotificationViewController.setIsInForeground(true); // let the status bar know that the panel is open // let the status bar know that the panel is open mNotificationView.setVisibleNotificationsAsSeen(); mNotificationView.setVisibleNotificationsAsSeen(); setPanelExpanded(true); setPanelExpanded(true); Loading