Loading packages/CarSystemUI/res/layout/car_user_switching_dialog.xml +0 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ ~ limitations under the License. --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:fitsSystemWindows="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" Loading packages/CarSystemUI/res/layout/sysui_overlay_window.xml +1 −3 Original line number Diff line number Diff line Loading @@ -22,12 +22,10 @@ android:layout_width="match_parent" android:layout_height="match_parent"> <!-- TODO(b/151617493): replace marginBottom with insets. --> <ViewStub android:id="@+id/notification_panel_stub" android:layout_width="match_parent" android:layout_height="match_parent" android:layout="@layout/notification_panel_container" android:layout_marginBottom="@dimen/navigation_bar_height"/> android:layout="@layout/notification_panel_container"/> <ViewStub android:id="@+id/keyguard_stub" android:layout_width="match_parent" Loading packages/CarSystemUI/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java +5 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,11 @@ public class CarKeyguardViewController extends OverlayViewController implements registerUserSwitchedListener(); } @Override protected boolean shouldShowNavigationBar() { return true; } @Override public void onFinishInflate() { mBouncer = SystemUIFactory.getInstance().createKeyguardBouncer(mContext, Loading packages/CarSystemUI/src/com/android/systemui/car/notification/NotificationPanelViewController.java +12 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.systemui.car.notification; import static android.view.WindowInsets.Type.navigationBars; import android.app.ActivityManager; import android.car.Car; import android.car.drivingstate.CarUxRestrictionsManager; Loading Loading @@ -196,6 +198,16 @@ public class NotificationPanelViewController extends OverlayPanelViewController return true; } @Override protected boolean shouldShowStatusBar() { return true; } @Override protected int getInsetTypesToFit() { return navigationBars(); } @Override protected boolean shouldShowHUN() { return mEnableHeadsUpNotificationWhenNotificationShadeOpen; Loading packages/CarSystemUI/src/com/android/systemui/car/userswitcher/UserSwitchTransitionViewController.java +5 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,11 @@ public class UserSwitchTransitionViewController extends OverlayViewController { R.integer.config_userSwitchTransitionViewShownTimeoutMs); } @Override protected int getInsetTypesToFit() { return 0; } /** * Makes the user switch transition view appear and draws the content inside of it if a user * that is different from the previous user is provided and if the dialog is not already Loading Loading
packages/CarSystemUI/res/layout/car_user_switching_dialog.xml +0 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ ~ limitations under the License. --> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:fitsSystemWindows="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" Loading
packages/CarSystemUI/res/layout/sysui_overlay_window.xml +1 −3 Original line number Diff line number Diff line Loading @@ -22,12 +22,10 @@ android:layout_width="match_parent" android:layout_height="match_parent"> <!-- TODO(b/151617493): replace marginBottom with insets. --> <ViewStub android:id="@+id/notification_panel_stub" android:layout_width="match_parent" android:layout_height="match_parent" android:layout="@layout/notification_panel_container" android:layout_marginBottom="@dimen/navigation_bar_height"/> android:layout="@layout/notification_panel_container"/> <ViewStub android:id="@+id/keyguard_stub" android:layout_width="match_parent" Loading
packages/CarSystemUI/src/com/android/systemui/car/keyguard/CarKeyguardViewController.java +5 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,11 @@ public class CarKeyguardViewController extends OverlayViewController implements registerUserSwitchedListener(); } @Override protected boolean shouldShowNavigationBar() { return true; } @Override public void onFinishInflate() { mBouncer = SystemUIFactory.getInstance().createKeyguardBouncer(mContext, Loading
packages/CarSystemUI/src/com/android/systemui/car/notification/NotificationPanelViewController.java +12 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,8 @@ package com.android.systemui.car.notification; import static android.view.WindowInsets.Type.navigationBars; import android.app.ActivityManager; import android.car.Car; import android.car.drivingstate.CarUxRestrictionsManager; Loading Loading @@ -196,6 +198,16 @@ public class NotificationPanelViewController extends OverlayPanelViewController return true; } @Override protected boolean shouldShowStatusBar() { return true; } @Override protected int getInsetTypesToFit() { return navigationBars(); } @Override protected boolean shouldShowHUN() { return mEnableHeadsUpNotificationWhenNotificationShadeOpen; Loading
packages/CarSystemUI/src/com/android/systemui/car/userswitcher/UserSwitchTransitionViewController.java +5 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,11 @@ public class UserSwitchTransitionViewController extends OverlayViewController { R.integer.config_userSwitchTransitionViewShownTimeoutMs); } @Override protected int getInsetTypesToFit() { return 0; } /** * Makes the user switch transition view appear and draws the content inside of it if a user * that is different from the previous user is provided and if the dialog is not already Loading