Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +14 −8 Original line number Diff line number Diff line Loading @@ -346,6 +346,7 @@ public class NotificationPanelViewController extends PanelViewController { private VelocityTracker mQsVelocityTracker; private boolean mQsTracking; private IdleHostView mIdleHostView; private CommunalHostView mCommunalView; /** Loading Loading @@ -894,6 +895,7 @@ public class NotificationPanelViewController extends PanelViewController { private void onFinishInflate() { loadDimens(); mKeyguardStatusBar = mView.findViewById(R.id.keyguard_header); mIdleHostView = mView.findViewById(R.id.idle_host_view); mCommunalView = mView.findViewById(R.id.communal_host); FrameLayout userAvatarContainer = null; Loading @@ -916,10 +918,11 @@ public class NotificationPanelViewController extends PanelViewController { .getKeyguardStatusBarViewController(); mKeyguardStatusBarViewController.init(); IdleViewComponent idleViewComponent = mIdleViewComponentFactory .build(mView.findViewById(R.id.idle_host_view)); if (mIdleHostView != null) { IdleViewComponent idleViewComponent = mIdleViewComponentFactory.build(mIdleHostView); mIdleHostViewController = idleViewComponent.getIdleHostViewController(); mIdleHostViewController.init(); } if (mCommunalView != null) { CommunalViewComponent communalViewComponent = Loading @@ -934,7 +937,7 @@ public class NotificationPanelViewController extends PanelViewController { mView.findViewById(R.id.keyguard_status_view), userAvatarContainer, keyguardUserSwitcherView, mView.findViewById(R.id.idle_host_view), mIdleHostView, mCommunalView); mNotificationContainerParent = mView.findViewById(R.id.notification_container_parent); NotificationStackScrollLayout stackScrollLayout = mView.findViewById( Loading Loading @@ -1032,9 +1035,12 @@ public class NotificationPanelViewController extends PanelViewController { mKeyguardStatusViewController = statusViewComponent.getKeyguardStatusViewController(); mKeyguardStatusViewController.init(); if (idleHostView != null && idleHostView != mIdleHostView) { mIdleHostView = idleHostView; IdleViewComponent idleViewComponent = mIdleViewComponentFactory.build(idleHostView); mIdleHostViewController = idleViewComponent.getIdleHostViewController(); mIdleHostViewController.init(); } if (mKeyguardUserSwitcherController != null) { // Try to close the switcher so that callbacks are triggered if necessary. Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelViewController.java +14 −8 Original line number Diff line number Diff line Loading @@ -346,6 +346,7 @@ public class NotificationPanelViewController extends PanelViewController { private VelocityTracker mQsVelocityTracker; private boolean mQsTracking; private IdleHostView mIdleHostView; private CommunalHostView mCommunalView; /** Loading Loading @@ -894,6 +895,7 @@ public class NotificationPanelViewController extends PanelViewController { private void onFinishInflate() { loadDimens(); mKeyguardStatusBar = mView.findViewById(R.id.keyguard_header); mIdleHostView = mView.findViewById(R.id.idle_host_view); mCommunalView = mView.findViewById(R.id.communal_host); FrameLayout userAvatarContainer = null; Loading @@ -916,10 +918,11 @@ public class NotificationPanelViewController extends PanelViewController { .getKeyguardStatusBarViewController(); mKeyguardStatusBarViewController.init(); IdleViewComponent idleViewComponent = mIdleViewComponentFactory .build(mView.findViewById(R.id.idle_host_view)); if (mIdleHostView != null) { IdleViewComponent idleViewComponent = mIdleViewComponentFactory.build(mIdleHostView); mIdleHostViewController = idleViewComponent.getIdleHostViewController(); mIdleHostViewController.init(); } if (mCommunalView != null) { CommunalViewComponent communalViewComponent = Loading @@ -934,7 +937,7 @@ public class NotificationPanelViewController extends PanelViewController { mView.findViewById(R.id.keyguard_status_view), userAvatarContainer, keyguardUserSwitcherView, mView.findViewById(R.id.idle_host_view), mIdleHostView, mCommunalView); mNotificationContainerParent = mView.findViewById(R.id.notification_container_parent); NotificationStackScrollLayout stackScrollLayout = mView.findViewById( Loading Loading @@ -1032,9 +1035,12 @@ public class NotificationPanelViewController extends PanelViewController { mKeyguardStatusViewController = statusViewComponent.getKeyguardStatusViewController(); mKeyguardStatusViewController.init(); if (idleHostView != null && idleHostView != mIdleHostView) { mIdleHostView = idleHostView; IdleViewComponent idleViewComponent = mIdleViewComponentFactory.build(idleHostView); mIdleHostViewController = idleViewComponent.getIdleHostViewController(); mIdleHostViewController.init(); } if (mKeyguardUserSwitcherController != null) { // Try to close the switcher so that callbacks are triggered if necessary. Loading