summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Utilities.java
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2013-09-05 21:47:39 +0200
committerMichael Jurka <mikejurka@google.com>2013-09-05 21:52:14 +0200
commit26acafbe67565a9cc6aeb7d6c43a1c6d1cb9b73c (patch)
tree7a06c7450ce3f101b4a65a8e77973336ee13ff76 /src/com/android/launcher3/Utilities.java
parentc58497ee619416c4949b16eb43486c11618b69e5 (diff)
downloadandroid_packages_apps_Trebuchet-26acafbe67565a9cc6aeb7d6c43a1c6d1cb9b73c.tar.gz
android_packages_apps_Trebuchet-26acafbe67565a9cc6aeb7d6c43a1c6d1cb9b73c.tar.bz2
android_packages_apps_Trebuchet-26acafbe67565a9cc6aeb7d6c43a1c6d1cb9b73c.zip
Fix crash when setting wallpaper
Also clean up some unused code Change-Id: Ibef8d3d594cc859a993640fd6ee578e9eeb633d1
Diffstat (limited to 'src/com/android/launcher3/Utilities.java')
-rw-r--r--src/com/android/launcher3/Utilities.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java
index 90db5ab85..4a8a237d6 100644
--- a/src/com/android/launcher3/Utilities.java
+++ b/src/com/android/launcher3/Utilities.java
@@ -44,7 +44,6 @@ import java.util.ArrayList;
* Various utilities shared amongst the Launcher's classes.
*/
final class Utilities {
- @SuppressWarnings("unused")
private static final String TAG = "Launcher.Utilities";
private static int sIconWidth = -1;
@@ -215,8 +214,6 @@ final class Utilities {
int count = ancestorChain.size();
for (int i = 0; i < count; i++) {
View v0 = ancestorChain.get(i);
- View v1 = i < count -1 ? ancestorChain.get(i + 1) : null;
-
// For TextViews, scroll has a meaning which relates to the text position
// which is very strange... ignore the scroll.
if (v0 != descendant || includeRootScroll) {