Loading packages/SystemUI/res/layout/status_bar_notification_keyguard_overflow.xml +2 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ android:layout_height="match_parent" /> <LinearLayout <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/content" android:layout_width="match_parent" android:layout_height="match_parent"> Loading Loading @@ -63,6 +63,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> </LinearLayout> </com.android.keyguard.AlphaOptimizedLinearLayout> </com.android.systemui.statusbar.NotificationOverflowContainer> packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java +7 −5 Original line number Diff line number Diff line Loading @@ -656,13 +656,15 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView } private void setContentAlpha(float contentAlpha) { View contentView = getContentView(); if (contentView.hasOverlappingRendering()) { int layerType = contentAlpha == 0.0f || contentAlpha == 1.0f ? LAYER_TYPE_NONE : LAYER_TYPE_HARDWARE; View contentView = getContentView(); int currentLayerType = contentView.getLayerType(); if (currentLayerType != layerType) { contentView.setLayerType(layerType, null); } } contentView.setAlpha(contentAlpha); } Loading Loading
packages/SystemUI/res/layout/status_bar_notification_keyguard_overflow.xml +2 −2 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ android:layout_height="match_parent" /> <LinearLayout <com.android.keyguard.AlphaOptimizedLinearLayout android:id="@+id/content" android:layout_width="match_parent" android:layout_height="match_parent"> Loading Loading @@ -63,6 +63,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> </LinearLayout> </com.android.keyguard.AlphaOptimizedLinearLayout> </com.android.systemui.statusbar.NotificationOverflowContainer>
packages/SystemUI/src/com/android/systemui/statusbar/ActivatableNotificationView.java +7 −5 Original line number Diff line number Diff line Loading @@ -656,13 +656,15 @@ public abstract class ActivatableNotificationView extends ExpandableOutlineView } private void setContentAlpha(float contentAlpha) { View contentView = getContentView(); if (contentView.hasOverlappingRendering()) { int layerType = contentAlpha == 0.0f || contentAlpha == 1.0f ? LAYER_TYPE_NONE : LAYER_TYPE_HARDWARE; View contentView = getContentView(); int currentLayerType = contentView.getLayerType(); if (currentLayerType != layerType) { contentView.setLayerType(layerType, null); } } contentView.setAlpha(contentAlpha); } Loading