diff options
| author | 2021-04-27 13:45:19 -0400 | |
|---|---|---|
| committer | 2021-04-27 15:16:42 -0400 | |
| commit | 9bb01fdbe713cd9ea79cb54409357247bbb8c5f9 (patch) | |
| tree | 607b2f9ec06cb251bb59e6d2dee7ab437c861b26 | |
| parent | 39f3d9bb082e486563bee6c1d1c431bfa292d0c8 (diff) | |
Enable new shade features in AOSP
Bug: 186403135
Bug: 186117823
Test: manual tesing, including pure aosp build
Change-Id: Ia76f94a26992acb5e407fef4a7d1c6e01b409b1c
| -rw-r--r-- | packages/SystemUI/res/values/config.xml | 2 | ||||
| -rw-r--r-- | packages/SystemUI/res/values/dimens.xml | 10 | ||||
| -rw-r--r-- | packages/SystemUI/res/values/flags.xml | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml index 5feb95783245..120b3f8afd5d 100644 --- a/packages/SystemUI/res/values/config.xml +++ b/packages/SystemUI/res/values/config.xml @@ -375,7 +375,7 @@ <bool name="config_showNotificationGear">true</bool> <!-- Whether or not a background should be drawn behind a notification. --> - <bool name="config_drawNotificationBackground">true</bool> + <bool name="config_drawNotificationBackground">false</bool> <!-- Whether or the notifications can be shown and dismissed with a drag. --> <bool name="config_enableNotificationShadeDrag">true</bool> diff --git a/packages/SystemUI/res/values/dimens.xml b/packages/SystemUI/res/values/dimens.xml index fff4a1b74e56..7bbf5a9f0056 100644 --- a/packages/SystemUI/res/values/dimens.xml +++ b/packages/SystemUI/res/values/dimens.xml @@ -157,7 +157,7 @@ <dimen name="notification_max_heads_up_height_increased">188dp</dimen> <!-- Side padding on the lockscreen on the side of notifications --> - <dimen name="notification_side_paddings">4dp</dimen> + <dimen name="notification_side_paddings">16dp</dimen> <!-- padding between the heads up and the statusbar --> <dimen name="heads_up_status_bar_padding">8dp</dimen> @@ -179,10 +179,10 @@ <dimen name="notification_min_interaction_height">40dp</dimen> <!-- Radius for notifications corners without adjacent notifications --> - <dimen name="notification_corner_radius">8dp</dimen> + <dimen name="notification_corner_radius">28dp</dimen> <!-- Radius for notifications corners with adjacent notifications --> - <dimen name="notification_corner_radius_small">0dp</dimen> + <dimen name="notification_corner_radius_small">4dp</dimen> <!-- the padding of the shelf icon container --> <dimen name="shelf_icon_container_padding">13dp</dimen> @@ -662,7 +662,7 @@ <dimen name="z_distance_between_notifications">0.5dp</dimen> <!-- The height of the divider between the individual notifications. --> - <dimen name="notification_divider_height">1dp</dimen> + <dimen name="notification_divider_height">2dp</dimen> <!-- The corner radius of the shadow behind the notification. --> <dimen name="notification_shadow_radius">0dp</dimen> @@ -675,7 +675,7 @@ <dimen name="notification_children_container_divider_height">0.5dp</dimen> <!-- The horizontal margin of the content in the notification shade --> - <dimen name="notification_shade_content_margin_horizontal">4dp</dimen> + <dimen name="notification_shade_content_margin_horizontal">16dp</dimen> <!-- The top margin for the notification children container in its non-expanded form. --> <dimen name="notification_children_container_margin_top"> diff --git a/packages/SystemUI/res/values/flags.xml b/packages/SystemUI/res/values/flags.xml index 5827f4e6ad3a..f4d4ab8953a0 100644 --- a/packages/SystemUI/res/values/flags.xml +++ b/packages/SystemUI/res/values/flags.xml @@ -20,9 +20,9 @@ <bool name="flag_notification_pipeline2">true</bool> <bool name="flag_notification_pipeline2_rendering">false</bool> - <bool name="flag_notif_updates">false</bool> + <bool name="flag_notif_updates">true</bool> - <bool name="flag_shade_is_opaque">false</bool> + <bool name="flag_shade_is_opaque">true</bool> <bool name="flag_monet">false</bool> <!-- b/171917882 --> |