From 2cb7004928e4bb34022e3ced112c2917fc5362f9 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Mon, 24 Aug 2015 14:52:45 -0700 Subject: [PATCH] Scale notifications on lockscreen for 420 dpi devices Bug: 23299488 Change-Id: Ied4505532aad41a3a1469efce2464a491661fb6c --- .../android/systemui/statusbar/stack/StackScrollAlgorithm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java index 82064a7c9c275..cf696a1208c94 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java @@ -127,7 +127,7 @@ public class StackScrollAlgorithm { mCollapseSecondCardPadding = context.getResources().getDimensionPixelSize( R.dimen.notification_collapse_second_card_padding); mScaleDimmed = context.getResources().getDisplayMetrics().densityDpi - >= DisplayMetrics.DENSITY_XXHIGH; + >= DisplayMetrics.DENSITY_420; } public boolean shouldScaleDimmed() {