Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df741ac8 authored by Heemin Seog's avatar Heemin Seog
Browse files

Generalize notifications logic into a subclass of OverlayViewController

Bug: 147826363
Test: manual, atest OverlayPanelViewControllerTest
Change-Id: Ifad23f6ff639390077301eafa737fea8517a48d9
parent 53c55f82
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -20,8 +20,6 @@
    android:id="@+id/notification_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:visibility="invisible"
    android:layout_marginBottom="@dimen/navigation_bar_height"
    android:background="@color/notification_shade_background_color">

    <View
+2 −1
Original line number Diff line number Diff line
@@ -18,4 +18,5 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/notification_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>
    android:layout_height="match_parent"
    android:visibility="invisible"/>
+3 −1
Original line number Diff line number Diff line
@@ -22,10 +22,12 @@
    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="@layout/notification_panel_container"
              android:layout_marginBottom="@dimen/navigation_bar_height"/>

    <ViewStub android:id="@+id/fullscreen_user_switcher_stub"
              android:layout_width="match_parent"
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import com.android.systemui.statusbar.policy.DeviceProvisionedController;
 */
public interface CarDeviceProvisionedController extends DeviceProvisionedController {
    /**
     * Returns {@code true} then SUW is in progress for the given user.
     * Returns {@code true} when SUW is in progress for the given user.
     */
    boolean isUserSetupInProgress(int user);

+101 −443

File changed.

Preview size limit exceeded, changes collapsed.

Loading