summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jorim Jaggi <jjaggi@google.com> 2015-08-25 05:18:19 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-08-25 05:18:19 +0000
commit33b20dd82dd0136d3ad56baf89ff8e55426c2bf5 (patch)
tree9eb3af1b3d0292156b172fb604e24b95161713f2
parent59ef9b0d80dfde4d257d8adef7350a9850c4b69d (diff)
parent667691b5120baacafa873ee45db3a37ab21d2a2c (diff)
am 667691b5: am 2ef327ed: am 2cb70049: Scale notifications on lockscreen for 420 dpi devices
* commit '667691b5120baacafa873ee45db3a37ab21d2a2c': Scale notifications on lockscreen for 420 dpi devices
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java2
1 files changed, 1 insertions, 1 deletions
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 82064a7c9c27..cf696a1208c9 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() {