summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Utilities.java
diff options
context:
space:
mode:
authorWinson <winsonc@google.com>2016-07-20 12:55:49 -0700
committerWinson <winsonc@google.com>2016-07-20 16:21:24 -0700
commitbe9798b6a2ef7c2c827a612203d81c67b3ec81ac (patch)
tree029c6553863ce39857afb79955f1c5b38190fc29 /src/com/android/launcher3/Utilities.java
parent2eeae10e984993af563b4d207deac855ca7d8620 (diff)
downloadandroid_packages_apps_Trebuchet-be9798b6a2ef7c2c827a612203d81c67b3ec81ac.tar.gz
android_packages_apps_Trebuchet-be9798b6a2ef7c2c827a612203d81c67b3ec81ac.tar.bz2
android_packages_apps_Trebuchet-be9798b6a2ef7c2c827a612203d81c67b3ec81ac.zip
Fixing issue with shadow drawing over search bar.
- Adding notion of clip-against view for click shadow alignment. Bug: 30255227 Change-Id: Id5716a3484051a55690025d61f709e3d96cbe024
Diffstat (limited to 'src/com/android/launcher3/Utilities.java')
-rw-r--r--src/com/android/launcher3/Utilities.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java
index 7b1a16c5f..ef781958c 100644
--- a/src/com/android/launcher3/Utilities.java
+++ b/src/com/android/launcher3/Utilities.java
@@ -113,8 +113,8 @@ public final class Utilities {
&& "NMR1".compareTo(VERSION.CODENAME) <= 0;
}
- // TODO: use Build.VERSION_CODES when available
- public static final boolean ATLEAST_MARSHMALLOW = Build.VERSION.SDK_INT >= 23;
+ public static final boolean ATLEAST_MARSHMALLOW =
+ Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;
public static final boolean ATLEAST_LOLLIPOP_MR1 =
Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1;