diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-07-07 00:12:05 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-07-07 00:12:12 +0000 |
commit | 821d22ea66038e60bdcb34483971caad37b7ac00 (patch) | |
tree | 72eaa2ff199e050d3400058cb562c8c2577988fe /src/com/android/launcher3/Utilities.java | |
parent | 1406fd80d59351e13b7be7f0997494761ffe7508 (diff) | |
parent | 1dd0f8bf51d4e2befe0caece0e361a96ae697f41 (diff) | |
download | android_packages_apps_Trebuchet-821d22ea66038e60bdcb34483971caad37b7ac00.tar.gz android_packages_apps_Trebuchet-821d22ea66038e60bdcb34483971caad37b7ac00.tar.bz2 android_packages_apps_Trebuchet-821d22ea66038e60bdcb34483971caad37b7ac00.zip |
Merge "Using cellX and cellY for comparing position when rank is not available" into ub-launcher3-burnaby
Diffstat (limited to 'src/com/android/launcher3/Utilities.java')
-rw-r--r-- | src/com/android/launcher3/Utilities.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index 19334ed31..8f4f0f9a1 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java @@ -59,7 +59,6 @@ import android.widget.Toast; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.ArrayList; -import java.util.Comparator; import java.util.Locale; import java.util.Set; import java.util.regex.Matcher; @@ -573,13 +572,6 @@ public final class Utilities { } } - public static final Comparator<ItemInfo> RANK_COMPARATOR = new Comparator<ItemInfo>() { - @Override - public int compare(ItemInfo lhs, ItemInfo rhs) { - return lhs.rank - rhs.rank; - } - }; - /** * Find the first vacant cell, if there is one. * |